예제 #1
0
파일: Form1.cs 프로젝트: rfratila/a-team
 public Form1()
 {
     body = new Core();
     InitializeComponent();
     sensor = body.GetSensor();
     Process p = new Process();
     p.StartInfo.WorkingDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
     p.StartInfo.FileName = "ColorBasics-WPF.exe";
     p.Start();
     Thread.Sleep(600); // Allow the process to open it's window
     SetParent(p.MainWindowHandle, panel1.Handle);
     input.speak("Welcome to Fit Pro 3D. Please choose an exercise below, and click start to begin.");
 }
예제 #2
0
파일: Test.cs 프로젝트: rfratila/a-team
        public static void Main()
        {
            Core c = new Core();

            while (run) ;
        }