private void CommandBinding_Export(object sender, ExecutedRoutedEventArgs e) { if (!menuExport.IsEnabled) { return; } ExportWindow.Instance(); }
public static void Instance() { ExportWindow NewForm = new ExportWindow(); SessionCore.Instance.Windows.Show(NewForm); }