Example #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();
     }
 }
Example #2
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();
			}
		}