Exemplo n.º 1
0
 /// <summary>
 /// This scrolls the toolstrip while the mouse is over a scroll control.
 /// </summary>
 /// <param name="sender">The object that triggered the event.</param>
 /// <param name="e">An <see cref="EventArgs"/> describing the event arguments.</param>
 private void m_tmrScrollTimer_Tick(object sender, EventArgs e)
 {
     if (m_tmrScrollTimer.Tag == m_butUp)
     {
         m_pnlToolStrip.scrollUp();
     }
     else
     {
         m_pnlToolStrip.scrollDown();
     }
     checkScroll();
 }