0
How to I open a other form(Fom2) with pressing a button on Form1
c#
2 Antworten
0
in a button click event you must create instance of form2 and call method ShowDialog, example
private void ShowButton_Click(object sender, EventArgs e)
{
var form = new Form2();
form.ShowDialog()
}
0
thank you very much!