you can use show or showdialog , show dialog will not allow you to deal with the main form unless you close the dialog
to make the form close itself
me.hide()
or
me.close()
don't close your start up form or your application will be closed, you can close your startup form if you set this property, right click your project in solution explorer, select application tab, the last option shutdown mode = when last form closes
Open form?
Alone64179
hi,
to open form you can open the origional form
form2.show()
or you can open instance
form2 frm = new form2()
frm.show()
you can use show or showdialog , show dialog will not allow you to deal with the main form unless you close the dialog
to make the form close itself
me.hide()
or
me.close()
don't close your start up form or your application will be closed, you can close your startup form if you set this property, right click your project in solution explorer, select application tab, the last option shutdown mode = when last form closes
hope this helps