예제 #1
0
        private void Drone_OnInfoChange(object sender, InfoChangedEventArgs eventArgs)
        {
            if (InvokeRequired)
            {
                Invoke(new EventHandler <InfoChangedEventArgs>(Drone_OnInfoChange), this, eventArgs);
                return;
            }

            UpdateInfo(eventArgs.Info);
        }
예제 #2
0
 private void Drone_OnInfoChange(object sender, InfoChangedEventArgs e)
 {
     info = e.Info;
     UpdateValues();
 }