Beispiel #1
0
        /// <summary> Set dialog response to <see cref="DialogResult.Cancel"/> when user selects Close button </summary>
        private void ContentDialog_CloseButtonClick(object sender, RoutedEventArgs args)
        {
            this.Result = DialogResult.Cancel;

            FileDetailsDialog.Hide();
        }
Beispiel #2
0
        /// <summary> Set dialog response to <see cref="DialogResult.Reload"/> when user selects secondary button </summary>
        private void ContentDialog_SecondaryButtonClick(object sender, RoutedEventArgs args)
        {
            this.Result = DialogResult.Reload;

            FileDetailsDialog.Hide();
        }