public static NotifyTimer GetInstance()
        {
            if (_Instance == null)
            {
                _Instance = new NotifyTimer();
            }

            return(_Instance);
        }
 public void MouseMove()
 {
     if (!IsOverIcon)
     {
         IsOverIcon = true;
         NotifyTimer.GetInstance().StartTimer();
         OverIconPoint = new KeyValuePair <int, int>(Cursor.Position.X, Cursor.Position.Y);
         _Handler.TimerTick(true);
     }
 }
        public void TimerTick(bool show)
        {
            int xDelta = Math.Abs(Cursor.Position.X - OverIconPoint.Key);
            int yDelta = Math.Abs(Cursor.Position.Y - OverIconPoint.Value);

            if (IconArea < xDelta || IconArea < yDelta)
            {
                IsOverIcon = false;
                NotifyTimer.GetInstance().StopTimer();
                _Handler.TimerTick(false);
            }
        }
 private NotifycationHelper()
 {
     NotifyTimer.GetInstance().InitTimer(this);
 }