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();
 }
Exemple #5
0
 //Delegating the Quit Menu Item click event to StatusBarController.cs
        [Export ("quit:")]
        void Quit(NSObject sender)
        {
            QuitButtonClicked?.Invoke(this, null);
        }
Exemple #6
0
 public void OnQuitButtonClicked() => QuitButtonClicked?.Invoke();
Exemple #7
0
 private void OnQuitButtonPointerUp()
 {
     QuitButtonClicked?.Invoke();
 }