N
needin4mation
I have a single button. I want to change it's OnCommand. One moment
it may be Update, the next it may be New, etc.
I found btnMyButton.Command, but I cannot get it to work. The event
never fires. I have tried:
btnMyButton.Command+= new CommandEventHandler(Update);
(there is an Update function)
No error. It just doesn't fire the event. Thanks for any advice.
it may be Update, the next it may be New, etc.
I found btnMyButton.Command, but I cannot get it to work. The event
never fires. I have tried:
btnMyButton.Command+= new CommandEventHandler(Update);
(there is an Update function)
No error. It just doesn't fire the event. Thanks for any advice.