Exemplo n.º 1
0
        public static void ShowDistributeSettingsDialog()
        {
            DistributeSettingsDialog dialog = new DistributeSettingsDialog(DistributeReference, DistributeRadialReference,
                                                                           DistributeSpaceReference, DistributeShapeOrientation);

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