Autor Beitrag
DareDevil
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Windows7
C# (VS 2010)
BeitragVerfasst: So 10.12.06 18:08 
Ich habe mir einne SplashScreen gebastelt wo die wichtigstens Sachen als static variablen geladen werden nur habe ich das Problem das ich bei der Hauptform den TreeView nicht mit dem TreeView aus dem SplashScreen gleichsetzen kann.

Es ist zwar möglich nur werden keine Einträge angezeigt.

Es liegt nicht daran das der TreeView aus dem SplashScreen leer sind diese Möglichkeit habe ich schon nachgesehen.

ICh rufe die Hauptform mit dieser Methode auf:

ausblenden C#-Quelltext
1:
2:
3:
4:
5:
6:
static public void E_Mail_Show(TreeView tv, E_Mail mail)
{
    E_Mail E_Mail = mail;
    E_Mail.tvEmail = tv;
    E_Mail.ShowDialog();
}


Wenn ich jetzt nachsehe stimmt "E_Mail.tvEmail" mit "tv" überein.

Weiß einer vielleicht woran es liegt, dass die Einträge nicht angezeigt werden.

Greez

Pascal
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: So 10.12.06 18:56 
Ich denke, Du musst den Parent noch setzen.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
DareDevil Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Windows7
C# (VS 2010)
BeitragVerfasst: So 10.12.06 20:33 
Wie Parent noch setzen.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: So 10.12.06 20:37 
Hilfe -> Treeview -> Parent
Zitat:
Gets or sets the parent container of the control.

Du musst angeben, wo der TreeView denn überhaupt angezeigt werden soll.

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".