Answers for "how to open form when click on button in c# windows forms"

C#
1

how to open new form on button click in c# xamarin

private void button1Click(object sender, EventArgs e)
{            
     App.Current.MainPage = new settings();
}
Posted by: Guest on February-12-2020
0

how to display a form when a button click c# windows form

private void calculatorToolStripMenuItem_Click(object sender, EventArgs e)
 {
     calculator form = new calculator();
     form.Show(); // or form.ShowDialog(this);
 }
Posted by: Guest on January-04-2022

Code answers related to "how to open form when click on button in c# windows forms"

C# Answers by Framework

Browse Popular Code Answers by Language