private void OnSystemWindowShow(object sender, RoutedEventArgs e) { var window = new TestSystemWindow(); SetupWindowStyle(window); window.Show(); }
private void OnSystemWindowShowDialog(object sender, RoutedEventArgs e) { var window = new TestSystemWindow { Owner = Application.Current.MainWindow }; SetupWindowStyle(window); window.ShowDialog(); }