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:
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