Exemple #1
0
		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();
			}
		}
Exemple #2
0
 private void toolStripButtonWPF3D_Click(object sender, EventArgs e)
 {
     UseDefaultMouseHandler();
     Wpf3D.MainWindow wpfwindow = new Wpf3D.MainWindow();
     wpfwindow.Show();
 }