It is impossible to do something like this without control variables. You will need to add a boolean field or something. You could make some type of custom control (say a control derived from Button), that if it is ever clicked sets one of its properties to true (WasClicked or something). That would help clean up the code if you needed several of the buttons, but it is just moving the variables from the form to the control -- you still need them somewhere.