Пример #1
0
        /// <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;
        }
Пример #2
0
 /// <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;
 }