コード例 #1
0
 // Invoke the Changed event; called whenever list changes
 protected virtual void OnMouseTrackAdd(MouseTrackAddEventArgs e)
 {
     if (MouseTrackAddEvent != null)
         MouseTrackAddEvent(this, e);
 }
コード例 #2
0
 private void RemoteDisplay1_MouseTrackAddEvent(object sender, MouseTrackAddEventArgs e)
 {
     // send draw event
     SendSerial(e.Location.X, e.Location.Y, true);
 }