예제 #1
0
        private void btnMainSample_Click(object sender, RoutedEventArgs e)
        {
            var sampleWindow = new ShowcaseWindow();

              sampleWindow.Owner = this;
              sampleWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
              sampleWindow.ShowDialog();
        }
예제 #2
0
        private void btnMainSample_Click(object sender, RoutedEventArgs e)
        {
            var sampleWindow = new ShowcaseWindow();

            sampleWindow.Owner = this;
            sampleWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            sampleWindow.ShowDialog();
        }