Esempio n. 1
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            WinLoading win = new WinLoading();

            win.Owner = this;
            win.Show();
        }
Esempio n. 2
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            Window win = new WinLoading();

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