public static void ShowModeles(System.Windows.Window wnd) { wnd.ShowInTaskbar = false; wnd.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner; #if AutoCAD AcApp.ShowModelessWindow(null, wnd, false); #endif #if BricsCAD throw new NotSupportedException(); #endif }
private void cmdBuildAreas_Click(object sender, RoutedEventArgs e) { this.Hide(); App.ShowModelessWindow(EW_Forms.ewFrms.wBuildAreas); }