Как начать раз один за другим C#
does any one can help me in this problem: I have 2 timers in a form C#, I want this: when form is loaded, one timer to start counting down from 15 to 0, after first timer finished, then the second timer start same. I write code but when the form is loaded both timer starts.
Что я уже пробовал:
в form_load:
timer1.Interval = 1000; timer2.Interval = 1000; timer1.Start(); timer2.Start();
таймер один:
time--; if (time== 0) timer1.Stop(); lblKoha.Text = koha.ToString();
таймер два
time2--; if (time2== 0) timer2.Stop();
Я заявляю:
private int time= 15; private int time2= 15;