Answers for "c# close 1 form open another form"

C#
0

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();
Posted by: Guest on April-19-2022

C# Answers by Framework

Browse Popular Code Answers by Language