Esempio n. 1
0
        public static void ShowAlignSettingsDialog()
        {
            AlignSettingsDialog dialog = new AlignSettingsDialog(AlignReference);

            dialog.DialogConfirmedHandler += OnAlignSettingsDialogConfirmed;
            dialog.ShowThematicDialog();
        }
 private void AlignSettingsButton_Click(object sender, RoutedEventArgs e)
 {
     if (_alignSettingsDialog == null || !_alignSettingsDialog.IsOpen)
     {
         _alignSettingsDialog = new AlignSettingsDialog();
         _alignSettingsDialog.ShowDialog();
     }
     else
     {
         _alignSettingsDialog.Activate();
     }
 }