示例#1
0
        private void OnSystemWindowShow(object sender, RoutedEventArgs e)
        {
            var window = new TestSystemWindow();

            SetupWindowStyle(window);
            window.Show();
        }
示例#2
0
        private void OnSystemWindowShowDialog(object sender, RoutedEventArgs e)
        {
            var window = new TestSystemWindow {
                Owner = Application.Current.MainWindow
            };

            SetupWindowStyle(window);
            window.ShowDialog();
        }