private void ShakeDetectedEvent(object mySender, ShakeEventArgs myArgs) { if (this.ShakeDetected == null) { return; } this.ShakeDetected(this, myArgs); }
} //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(); }
}//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); }