private void Timer_Start_Tick(object sender, EventArgs e) { Opacity += 0.1; if (Opacity == 1) { Timer_Start.Stop(); } }
private static Command CreateTimerCommand() { var cmd = new Command("timer", "Timer commands") { Timer_Start.GetCommand(), Timer_Continue.GetCommand(), }; return(cmd); }
private void Form1_Load(object sender, EventArgs e) { Timer_Start.Start(); SwitchPanelUC(UserControl.Startscreen); }