コード例 #1
0
        private void BtnBuild_Click(object sender, RoutedEventArgs e)
        {
            MainWindow  main  = Owner as MainWindow;
            BuildWindow build = new BuildWindow();

            this.Close();
            build.ShowDialog();
        }
コード例 #2
0
        private void BtnBuild_Click(object sender, RoutedEventArgs e)
        {
            BuildWindow buildWindow = new BuildWindow
            {
                Owner = this
            };

            buildWindow.ShowDialog();
        }