Removing Click method from Windows form application

后端 未结 2 1351
时光取名叫无心
时光取名叫无心 2021-01-14 06:50

I\'m starting with C# and I went through this tutorial on how to create a simple picture viewer:

http://msdn.microsoft.com/en-us/library/dd492135.aspx

You cr

2条回答
  •  情书的邮戳
    2021-01-14 07:35

    Expand the Node for your "Form1" in the Solution Explorer and doubleclick on the Designer.cs (Form1.Designer.cs). I think there is still a reference to the picturebox1 click event. you need to remove this.

    Anyway, the Designer.cs holds all information about your controls/containers that you add to your form, but you can still overwrite this by create new values in the regular code behind of 'form1'.

提交回复
热议问题