Example #1
0
 public virtual void FailGesture(object sender, Gesture_Event_Args gEventArgs)
 {
     gestureEvent.Registered -= registerHandler;
     gestureEvent.Continued  -= continueHandler;
     gestureEvent.Terminated -= terminateHandler;
     gestureEvent.Failed     -= failHandler;
     Record_Helper.PrintRecord(gestureControler.Control.MainWindow, gestureEvent, gEventArgs, GESTURESTATUS.FAIL);
 }
 public void SaveRecord(Record_Helper.RecordObj recordObj)
 {
     string result = JsonConvert.SerializeObject(recordObj);
     streamWriter.WriteLine(result);
 }
Example #3
0
 public virtual void RegisterGesture(object sender, Gesture_Event_Args gEventArgs)
 {
     Record_Helper.PrintRecord(gestureControler.Control.MainWindow, gestureEvent, gEventArgs, GESTURESTATUS.REGISTER);
 }