private void DebugDevice_MouseLeave(object sender, MouseEventArgs e) { if (FocusEvent.HasValue) { FocusEvent = null; FocusEventChange?.Invoke(this); } }
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); } }