private void QuitButton_Clicked(CancelEventArgs args) { QuitButtonClicked?.Invoke(args); allowClose = !args.Cancel; }
private void InitializeActionCenter() { QuitButton.Clicked += (args) => QuitButtonClicked?.Invoke(args); }
private void OnQuitButtonClick() { QuitButtonClicked?.Invoke(this, EventArgs.Empty); }
private void Quit(object sender, EventArgs e) { QuitButtonClicked.Invoke(); }
//Delegating the Quit Menu Item click event to StatusBarController.cs [Export ("quit:")] void Quit(NSObject sender) { QuitButtonClicked?.Invoke(this, null); }
public void OnQuitButtonClicked() => QuitButtonClicked?.Invoke();
private void OnQuitButtonPointerUp() { QuitButtonClicked?.Invoke(); }