Beispiel #1
0
 private void DebugDevice_MouseLeave(object sender, MouseEventArgs e)
 {
     if (FocusEvent.HasValue)
     {
         FocusEvent = null;
         FocusEventChange?.Invoke(this);
     }
 }
Beispiel #2
0
        private void DebugDevice_MouseMove(object sender, MouseEventArgs e)
        {
            Point      p = e.GetPosition(this);
            TimeWindow?w = FindTimelineEvent(p);

            if (w != FocusEvent)
            {
                FocusEvent = w;
                FocusEventChange?.Invoke(this);
            }
        }