Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# close 1 form open another form

		this.Hide();//Hide the 'current' form, i.e frm_form1 
        //show another form ( frm_form2 )   
        frm_form2 frm = new frm_form2();
        frm.ShowDialog();
        //Close the form.(frm_form1)
        this.Close();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #close #form #open #form
ADD COMMENT
Topic
Name
4+9 =