public static void ShowExportDialog(ExportTableType type, MainWindow owner) { var wnd = new ExportTableWnd { Owner = owner, _exprotType = type, _myWindow = owner }; wnd.ShowDialog(); }
private void OnExportTableOps_Button_Click(object sender, RoutedEventArgs e) { ExportTableWnd.ShowExportDialog(ExportTableWnd.ExportTableType.Operations, this); }