Exemple #1
0
 // Event raiser
 protected virtual void OnSwitchChanged(bool toggled)
 {
     SwitchChanged?.Invoke(this, new WXOptionsDialogEventArgs()
     {
         SaveData = toggled
     });
 }
Exemple #2
0
 public void OnDestroy()
 {
     OnSwitchChanged = null;
 }