コード例 #1
0
 /// <summary>
 /// Hover effect
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CANCEL_PANEL_MouseEnter(object sender, EventArgs e)
 {
     CANCEL_HOVER_TIMER.Stop();
     CANCEL_PANEL.BackColor = Color.Gray;
 }
コード例 #2
0
 /// <summary>
 /// Hover effect
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CANCEL_PANEL_MouseLeave(object sender, EventArgs e)
 {
     CANCEL_HOVER_TIMER.Start();
 }
コード例 #3
0
 /// <summary>
 /// Hover effect
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CANCEL_HOVER_TIMER_Tick(object sender, EventArgs e)
 {
     CANCEL_PANEL.BackColor = Color.DarkGray;
     CANCEL_HOVER_TIMER.Stop();
 }