//when the value of a control changes, log it and fire the ControlUpdated event so the //main menu can check whether the game is "won" private void handleControlAnswered(object sender, ClickEvent click) { ControlUpdated?.Invoke(this, click); }
public void UpdateControl() { SetUserControlValue(); ControlUpdated?.Invoke(this); }