Example #1
0
 private void ShakeDetectedEvent(object mySender, ShakeEventArgs myArgs)
 {
     if (this.ShakeDetected == null)
     {
         return;
     }
     this.ShakeDetected(this, myArgs);
 }
Example #2
0
 }              //MsgWnd
 #endregion
 #region theClass
 public bgThread()
 {
     bgWnd      = new bgThreadWndProc(this);
     myThread   = new Thread(myThreadStart);
     bRunThread = true;
     myThread.Start();
     _BGeventArgs = new ShakeDetection.ShakeEventArgs();
     theLock      = new object();
 }
Example #3
0
 }//MsgWnd
 #endregion
 #region theClass
 public bgThread()
 {
     bgWnd = new bgThreadWndProc(this);
     myThread = new Thread(myThreadStart);
     bRunThread = true;
     myThread.Start();
     _BGeventArgs = new ShakeDetection.ShakeEventArgs();
     theLock = new object();
 }
 private void ShakeDetectedEvent(object mySender, ShakeEventArgs myArgs)
 {
     if (this.ShakeDetected == null)
         return;
     this.ShakeDetected(this, myArgs);
 }