15
Answers

Opening a form by clicking the button in another form

Nel

Nel

13y
2.3k
1
Hello,
I try from one form by clicking the button to open another form. I put this code, but nothing happens:

private void button1_Click(object sender, EventArgs e)
{
Izvest frm = new Izvest();
frm.Show();
}


Can anybody tell me please where is my error.
The second form's name is Izvest.
Thanks.

Answers (15)