GUI Invokation problem
-
Hi all, a simple question. i need to invoke a gui from a program. i can simply do Application.Run(myForm); the gui is started but the problem is how do i come to the next line of the code? regards, rnv
Are you tring to load a form from your main app? To do this you do something like. NewForm newform = new NewForm(); newform.ShowDialog(); Once it it shows the form then in NewForm dialog in LoadForm you can have it start the next line of code you want. Tom Wright tawright915@yahoo.com
-
Are you tring to load a form from your main app? To do this you do something like. NewForm newform = new NewForm(); newform.ShowDialog(); Once it it shows the form then in NewForm dialog in LoadForm you can have it start the next line of code you want. Tom Wright tawright915@yahoo.com
thanks, here is what i want. i have the main class which should invoke certain Form at certain moment. when i do 1. NewForm newform = new NewForm(); 2. newform.ShowDialog(); 3. DisplayStatusInfo("Form Displayed"); it shows the dialog but it does not do the next step (3). any idea? regards, rnv