Autor Beitrag
paul.-b
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mo 07.12.09 13:46 
Hallo,

Wie schon erwähnt möchte ich eine Form starten, welche im gleichen Tread läuft wie die aufrufende Form.
Das Ziel ist, dass in der aufrufenden Form keine Änderung gemacht werden können soll sobald die zweite Form offen ist.

Also Form1 soll Form2 aufrufen und dabei selbst "stehenbleiben" und warten bis Forms2 beendet ist. Etwa das Verhalten wie bei MessageBox.Show();

Danke!
Paul
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Mo 07.12.09 13:57 
ausblenden C#-Quelltext
1:
Form2.ShowDialog(Form1)					
paul.-b Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26



BeitragVerfasst: Mo 07.12.09 15:04 
Danke!