Esempio n. 1
0
 public virtual void OnSelected(NativeMenu sender, NativeMenuItemEventArgs e)
 {
     Selected?.Invoke(sender, e);
 }
 public override void OnSelected(NativeMenu sender, NativeMenuItemEventArgs e)
 {
     Checked = !Checked;
     OnCheck(sender, new NativeMenuItemCheckboxEventArgs(this, e.MenuItemIndex, Checked));
 }