private void Test(int choice) { if (choice == 1) { MainWindow MainWindow = new MainWindow(true); MainWindow.Show(); } else if (choice == 2) { Test t = new Test(); t.Show(); } else { MotionWindow mw = new MotionWindow(); mw.Show(); } }
private void toolStripButtonWPF3D_Click(object sender, EventArgs e) { UseDefaultMouseHandler(); Wpf3D.MainWindow wpfwindow = new Wpf3D.MainWindow(); wpfwindow.Show(); }