MahApps.Metro.Controls.Dialogs.ProgressDialogController.PART_NegativeButton_Click C# (CSharp) 메소드

PART_NegativeButton_Click() 개인적인 메소드

private PART_NegativeButton_Click ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
리턴 void
        private void PART_NegativeButton_Click(object sender, RoutedEventArgs e)
        {
            Action action = () =>
                {
                    this.IsCanceled = true;
                    this.Canceled?.Invoke(this, EventArgs.Empty);
                    this.WrappedDialog.PART_NegativeButton.IsEnabled = false;
                };
            this.WrappedDialog.Invoke(action);
        }