M
Mart
I have an inputpanel_EnabledChanged event handler.
But in the event handler the sender argument is always <undefined value>
when I activate the inputpanel.
When I have a button.Click and point to the same event handler (the one of
the inputpanel), I do get a value for the sender.
What's the diference? How do I know if the inputpanel fired the event?
I don't give args when I declare the event, I do it like this:
inputPanel1.EnabledChanged += new EventHandler(inputPanel1_EnabledChanged);
button1.Click += new EventHandler(inputPanel1_EnabledChanged);
Any ideas?
Thanks in advance!
But in the event handler the sender argument is always <undefined value>
when I activate the inputpanel.
When I have a button.Click and point to the same event handler (the one of
the inputpanel), I do get a value for the sender.
What's the diference? How do I know if the inputpanel fired the event?
I don't give args when I declare the event, I do it like this:
inputPanel1.EnabledChanged += new EventHandler(inputPanel1_EnabledChanged);
button1.Click += new EventHandler(inputPanel1_EnabledChanged);
Any ideas?
Thanks in advance!