Пример #1
0
 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
        public static void Main()
        {
            Core c = new Core();

            while (run) ;
        }