コード例 #1
0
ファイル: Menu.cs プロジェクト: NathanielBeen/UXStudy
 //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);
 }