[RESOLVED] [02/03] Easiest way to detect the status change
Hi all,
I've few number of text boxes and check boxes on different tab pages. On the change of the status on any control, I want to enable a button. What's the easiest way to do it?
If I try with the state change of each control I've to use large number of methods. I want to avoid it as much as possible.
Thanks.
Re: [02/03] Easiest way to detect the status change
You can just use one method to handle multiple events. You just put each event in the Handles clause of the method. They don't even have to be the same event, as long they have the same signature. You can use the same method to handle TextChanged events of TextBoxes and SelectedIndexChanged events of ComboBoxes because they both have the same signature.
Re: [02/03] Easiest way to detect the status change
Thanks lol, I've solve the problem.