B
Baboon
Hello
Now i have try create an click event in a form,so i doubleclick the form,but
the IDE create an form_load event automatic:
private void Form2_Load(object sender, System.EventArgs e)
{ }
but the code i need is:
private void Form2_Click(object sender, System.EventArgs e)
{ }
so i had write it by hand,but it not work,i find some books,and add some
codes:
this.Click += new System.EventHandler(this.Form2_Click);
Haha,it work,but how can IDE create an click event automatic,not with
handwrite?
Now i have try create an click event in a form,so i doubleclick the form,but
the IDE create an form_load event automatic:
private void Form2_Load(object sender, System.EventArgs e)
{ }
but the code i need is:
private void Form2_Click(object sender, System.EventArgs e)
{ }
so i had write it by hand,but it not work,i find some books,and add some
codes:
this.Click += new System.EventHandler(this.Form2_Click);
Haha,it work,but how can IDE create an click event automatic,not with
handwrite?