K
Kenichi
hello, i'm still new to vs
i have a question,
how can i clear my event like to set that to null ?
i would like to do something like this without knowing
what is the event handler before
ex: (error)
button1.Click = null;
i know i can clear that manually using such as
button1.Click -= new EventHandler(button1_Click);
but in case there is many event assigned to button1.Click
i think it would be not effecient writing one by one line removing the event
handler
is there another way?
thanks in advance.
i have a question,
how can i clear my event like to set that to null ?
i would like to do something like this without knowing
what is the event handler before
ex: (error)
button1.Click = null;
i know i can clear that manually using such as
button1.Click -= new EventHandler(button1_Click);
but in case there is many event assigned to button1.Click
i think it would be not effecient writing one by one line removing the event
handler
is there another way?
thanks in advance.