예제 #1
0
 //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);
 }
예제 #2
0
 public void UpdateControl()
 {
     SetUserControlValue();
     ControlUpdated?.Invoke(this);
 }