예제 #1
0
        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");
        }
예제 #2
0
        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");
        }
예제 #3
0
        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");
        }