Exemplo n.º 1
0
        private void BtnBuild_Click(object sender, RoutedEventArgs e)
        {
            MainWindow  main  = Owner as MainWindow;
            BuildWindow build = new BuildWindow();

            this.Close();
            build.ShowDialog();
        }
Exemplo n.º 2
0
        private void BtnBuild_Click(object sender, RoutedEventArgs e)
        {
            BuildWindow buildWindow = new BuildWindow
            {
                Owner = this
            };

            buildWindow.ShowDialog();
        }