Пример #1
0
        private void Button_Click_7(object sender, RoutedEventArgs e)
        {
            Window win = new WinTextDemo();

            win.Owner = this;
            win.Show();
        }
Пример #2
0
        private void Button_Click_7(object sender, RoutedEventArgs e)
        {
            Window win = new WinTextDemo();

            win.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            win.Owner = this;
            win.Show();
        }