Reply to thread

In C# you have to have a double equals to compare...


If control == buttonOne Then


Not sure about VB though...


Also, in c# you have to define the control...


Button myButton = (Button)control;


Then compare...


If myButton == buttonOne Then


EDIT: Also, why not have seperate OnClicked events for each button, rather than trying to combine into one?


Top Bottom