示例#1
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            WinLoading win = new WinLoading();

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

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