Example #1
0
        //引发事件
        public void RaiseEvent(string newTitle)
        {
            DataEventArg e = new DataEventArg(newTitle);

            if (OpenMenu != null)
            {
                OpenMenu(this, e);
            }
        }
 private void Servo_PositionChanged(object sender, DataEventArg <Commands.ServoPositionChangedResponse> e)
 {
     _idleTimeout.Start();
 }