private void QuitAndSave_Click(object sender, RoutedEventArgs e) { SelectedButton = CloseAppDialogButtons.SaveAndQuit; this.Close(); }
private void Cancle_Click(object sender, RoutedEventArgs e) { SelectedButton = CloseAppDialogButtons.Cancel; this.Close(); }
public CloseAppDialog() { InitializeComponent(); SelectedButton = CloseAppDialogButtons.Cancel; }