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