Пример #1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     this.ShutdownMode = ShutdownMode.OnExplicitShutdown;
     TP = new TP();
     TP.Show();
 }
Пример #2
0
        private void BtnPr_Click(object sender, RoutedEventArgs e)
        {
            TP tp = new TP();

            tp.Show();
        }