注册 登录
编程论坛 ASP.NET技术论坛

写好的页面中的按纽的委托事件无缘无故自动丢失??

寒行 发布于 2008-11-08 20:14, 859 次点击
写好的页面中的按纽的委托事件无缘无故自动丢失,   
  比如:   
  private   void   InitializeComponent()   
  {         
  this.Button1.Click   +=   new   System.EventHandler(this.Button1_Click);     
  }   
  中的   
   
  "this.Button1.Click   +=   new   System.EventHandler(this.Button1_Click);   "   
   
  会自动消失了,麻烦哪位高手指点一下。。。。
0 回复
1