T
Thomas
Hi there
I build a class "ButtonClass" with two private
Buttons, "OK" And "Cancel".
Now, I would like to use this class in a Windowsform for
example three times.
ButtonClass c1 = new ButtonClass();
ButtonClass c2 = new ButtonClass();
ButtonClass c3 = new ButtonClass();
I assume the EventListener and its function is in the
ButtonClass. How do I know know which Button was pressed,
because I have just one Listener for each of the Buttons?
Thanks for helping
Thomas
I build a class "ButtonClass" with two private
Buttons, "OK" And "Cancel".
Now, I would like to use this class in a Windowsform for
example three times.
ButtonClass c1 = new ButtonClass();
ButtonClass c2 = new ButtonClass();
ButtonClass c3 = new ButtonClass();
I assume the EventListener and its function is in the
ButtonClass. How do I know know which Button was pressed,
because I have just one Listener for each of the Buttons?
Thanks for helping
Thomas