protected void OnTick(TimerEventArgs e)
 {
     if (this.Tick != null)
     {
         this.Tick(this, e);
     }
 }
 protected override void WndProc(ref Message m)
 {
     if (m.Msg == 0x113)
     {
         int wParam = (int) m.WParam;
         if ((this.ActiveTimerMap != null) && this.ActiveTimerMap.ContainsKey(wParam))
         {
             TimerEventArgs e = new TimerEventArgs(wParam);
             this.OnTick(e);
             if (e.Cancel)
             {
                 this.Stop(wParam);
             }
             return;
         }
     }
     base.WndProc(ref m);
 }
 private void TooltipTimer_Tick(object sender, TimerEventArgs e)
 {
     e.Cancel = true;
     this.ShowSelectedItemTooltip();
 }