Problem with timers in c#
<p>I've written a application and using 6 timers that must start after each other but these timers don't work properly. I don't know much about timers.</p>

<p>For example, timer1 start and something happen in application. then timer1 must stop forever and timer2 must start immediately and something happen in application. Then timer2 must stop forever and timer3 must start and so on.</p>

<p>Please help.</p>

<p>Here is my code:</p>

<pre><code>    int yyyy = 0;

    void move()
    {
        yyyy++;
        if (yyyy &lt;= 1) 
        {

            timer1.Start();
            timer1.Interval = 15;
            timer1.Tick += new EventHandler(timer_Tick1);
        }


        if (yyyy &lt;= 2) 
        {

            timer2.Start();
            timer2.Interval = 15;
            timer2.Tick += new EventHandler(timer_Tick2);
        }

        if (yyyy &lt;= 3) 
        {

            timer3.Start();
            timer3.Interval = 15;
            timer3.Tick += new EventHandler(timer_Tick3);
        }

        if (yyyy &lt;= 4)
        {

            timer4.Start();
            timer4.Interval = 15;
            timer4.Tick += new EventHandler(timer_Tick4);
        }

        if (yyyy &lt;= 5)
        {

            timer5.Start();
            timer5.Interval = 15;
            timer5.Tick += new EventHandler(timer_Tick5);
        }


        if (yyyy &lt;= 6)
        {

            timer6.Start();
            timer6.Interval = 15;
            timer6.Tick += new EventHandler(timer_Tick6);
        }

    }
</code></pre>

<p>and: (for timer2 for example). </p>

<p>( all timers have exactly same below code). </p>

<pre><code>    int t = 0;

    private void timer_Tick2(object sender, EventArgs e)
    {
        t++;

        if (t &lt;= 150)
        {
            // do somthing
        }
        else
            timer2.Stop();

    }
</code></pre>
