New form should open by clicking a button

May 3, 2012 at 04:12:36
Specs: Windows 7
how should i open a new form by clicking login button

See More: New form should open by clicking a button

Report •


#1
May 3, 2012 at 12:31:07
Well, the easiest way is to hide the old Form, create the new Form, as you would any other object, and call the Show() method. There's also the ShowDialog() method, which doesn't return until the Form is closed and gives you a DialogResult in return, so that's handy as well.

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question