Example #1
0
        private void Timer_Start_Tick(object sender, EventArgs e)
        {
            Opacity += 0.1;

            if (Opacity == 1)
            {
                Timer_Start.Stop();
            }
        }
Example #2
0
        private static Command CreateTimerCommand()
        {
            var cmd = new Command("timer", "Timer commands")
            {
                Timer_Start.GetCommand(),
                Timer_Continue.GetCommand(),
            };

            return(cmd);
        }
Example #3
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Timer_Start.Start();
     SwitchPanelUC(UserControl.Startscreen);
 }