/// <summary> /// Handle DoMouseLeave event. /// </summary> /// <param name="viterbiView">Event sender.</param> internal void DoMouseLeave(Microsoft.Tts.Offline.Viterbi.ViterbiView viterbiView) { this.MouseState = MouseState.None; viterbiView.Invalidate(this.Rectangle); viterbiView.Cursor = Cursors.Default; }
/// <summary> /// Handle DoMouseEnter event. /// </summary> /// <param name="viterbiView">Event sender.</param> internal void DoMouseEnter(Microsoft.Tts.Offline.Viterbi.ViterbiView viterbiView) { this.MouseState = MouseState.Enter; viterbiView.Invalidate(this.Rectangle); viterbiView.Cursor = Cursors.Hand; }