S
Steve Lewin-Berlin
For some reason (and I wish I could say specifically
when) studio.net keeps dis-associating my event handlers
with their events. In a recent frsutrating example, my
(C#) page_load routine wasn't getting called. I used the
gui in VS.net to associate the routine with the Load
event, but then the code for one of my buttons wasn't
running. When I re-associated the OnClick routine,
vs.net deleted the page_load connection. The routine
itself isn't deleted, but the line in InitializeComponent:
this.Load += new System.EventHandler(this.Page_Load);
just keeps getting deleted.
Help!
when) studio.net keeps dis-associating my event handlers
with their events. In a recent frsutrating example, my
(C#) page_load routine wasn't getting called. I used the
gui in VS.net to associate the routine with the Load
event, but then the code for one of my buttons wasn't
running. When I re-associated the OnClick routine,
vs.net deleted the page_load connection. The routine
itself isn't deleted, but the line in InitializeComponent:
this.Load += new System.EventHandler(this.Page_Load);
just keeps getting deleted.
Help!