/// <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; }
/// <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(); }
/// <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(); }