Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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);
 }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #display #form #button #click #windows #form
ADD COMMENT
Topic
Name
4+3 =