private void Timer_Exit_Tick(object sender, EventArgs e) { Opacity -= 0.1; if (Opacity == 0) { Timer_Exit.Stop(); Application.Exit(); } }
private void Picture_Exit_Click(object sender, EventArgs e) { Timer_Exit.Start(); }
private void Timer_Exit_Tick(object sender, EventArgs e) { Opacity -= 0.1; if (Opacity == 0) { Timer_Exit.Stop(); Application.Exit(); } }
private void Picture_Exit_Click(object sender, EventArgs e) { Timer_Exit.Start(); }