static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); datosCompartidos = new sharedData(); wimuDevice = new HT.Wimu("COM56");//52 arduino if (!wimuDevice.serialPortConfigured) { MessageBox.Show("Head-tracking error!"); return; } try { using (_eyeTrackingEngine = new EyeTrackingEngine()) { Application.Run(new EyeXWinForm(_eyeTrackingEngine, wimuDevice)); } } catch (Exception e) { MessageBox.Show(e.ToString(), "Eye-tracking error!"); } }
public eyesDetector() { numberOfNoEyesTracked = 0; maxNumberOfDataReceived = settings.maxNumberOfDataReceived; this.datosCompartidos = LookAndPlayForm.Program.datosCompartidos; }
public CalibrationResultForm() { this.datosCompartidos = LookAndPlayForm.Program.datosCompartidos; InitializeComponent(); }