Answers for "how to go to another form in c#"

C#
1

how to travel from one form to another in C#

private void btnLogin_Click(object sender, EventArgs e)
{
     this.Close(); //Close Form1,the current open form.
 
     Form2 frm2 = new Form2();
 
     frm2.Show(); // Launch Form2,the new form.
}
Posted by: Guest on January-09-2021
0

how to go to other forms in C#

introduction Intro = new introduction();

            this.Hide();
            Intro.ShowDialog();
Posted by: Guest on March-20-2020

Code answers related to "how to go to another form in c#"

C# Answers by Framework

Browse Popular Code Answers by Language