Hello,
I would like to know how i can work in Winforms with more than 1 window.
For example, after i press OK in a window, this window will be closed and another window will appear instead.
thank you all.
In the buttonclicked event you can write something like this:
The first 2 lines of course will be changed based on your form namesCode://Show the second form. Form2 form2 = new Form2(); form2.Show(); //Close the previous form this.Close();
ok, thank you very much.
i have another question, when the second window is shown, i can make there events when the button is clicked and etc. ?
all the Forms are in the same project?
thanks!!!
Thank you very much for your help![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks