Пример #1
0
 private void RemoteCalibration_Load(object sender, EventArgs e)
 {
     mycursor             = new AnimatedCursor();
     mycursor.coordinates = calibPoints[1];
     mycursor.ShowDialog();
     Cursor.Hide();
 }
Пример #2
0
        void Run()
        {
            mycursor             = new AnimatedCursor();
            mycursor.coordinates = calibPoints[1];

            if (METState.Current.remoteOrMobile == METState.RemoteOrMobile.GoogleGalss)
            {
                METState.Current.GlassServer.Send(myGlass.MessageType.toGLASS_Calibrate_Display, mycursor.coordinates);
            }

            METState.Current.mCursor.CursorShown = false;//hide cursor

            timerSpeed.Interval = 50;
            timerSpeed.Enabled  = true;
            timerSpeed.Tick    += new EventHandler(timerSpeed_Tick);
            mycursor.ShowDialog();
        }
Пример #3
0
        void Run()
        {
            mycursor             = new AnimatedCursor();
            mycursor.coordinates = calibPoints[pointIndex[0]];



            METState.Current.GlassServer.Send(myGlass.MessageType.toGLASS_Experiment_Display, mycursor.coordinates);


            METState.Current.mCursor.CursorShown = false;//hide cursor

            timerSpeed.Interval = 50;
            timerSpeed.Enabled  = true;
            timerSpeed.Tick    += new EventHandler(timerSpeed_Tick);
            mycursor.ShowDialog();
        }