Answers for "how to add 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

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

C# Answers by Framework

Browse Popular Code Answers by Language