OpenHome.Songcast.ExtendedNotifyIcon.EventTimerTick C# (CSharp) Method

EventTimerTick() public method

public EventTimerTick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        void EventTimerTick(object sender, EventArgs e)
        {
            // If the mouse position over the icon does not match the screen position, the mouse has left the icon (think of this as a type of hit test)
            if (iMousePosition != System.Windows.Forms.Control.MousePosition)
            {
                iIsMouseOver = false;
                iTimer.Stop(); // Stop the timer, no longer reqired.
            }
        }