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

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

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