void MD2_MotionEvent(object MotionDetection, EventArgs eventArgs) { Update_brush(2); MD2.threshold = Static_Variables.button2_threshold; WMP_Control wmp = new WMP_Control(); wmp.ControlMediaPlayer("NextSong"); }
void MD3_MotionEvent(object MotionDetection, EventArgs eventArgs) { Update_brush(3); MD3.threshold = Static_Variables.button3_threshold; WMP_Control wmp = new WMP_Control(); wmp.ControlMediaPlayer("PreviousSong"); }
void MD1_MotionEvent(object MotionDetection, EventArgs eventArgs) { Update_brush(1); MD1.threshold = Static_Variables.button1_threshold; WMP_Control wmp = new WMP_Control(); wmp.ControlMediaPlayer("Play/Pause"); }