Beispiel #1
0
 private void TimerSetStop()
 {
     #region Stop
     try
     {
         timerNum1.Stop();
         timerNum2.Stop();
         timerNum3.Stop();
         timerNum4.Stop();
         timerNum5.Stop();
         timerNum6.Stop();
         timerNum7.Stop();
         timerNum8.Stop();
         timerNum9.Stop();
         timerNum0.Stop();
         timerNumYil.Stop();
         timerNumEs.Stop();
         timerNumSpace.Stop();
         MobSelect.Stop();
         timerAltNum1.Stop();
         timerAltNum2.Stop();
         timerAltNum3.Stop();
         timerAltNum4.Stop();
         timerAltNum5.Stop();
         timerAltNum6.Stop();
         timerAltNum7.Stop();
         timerAltNum8.Stop();
         timerAltNum9.Stop();
         timerAltNum0.Stop();
         timerAltNumEs.Stop();
         timerAltNumYil.Stop();
     }
     catch (Exception exception)
     {
         Logger(exception);
     }
     #endregion
 }
Beispiel #2
0
        private void TimerSetStart()
        {
            #region Start

            try
            {
                if (checkBox1.Checked)
                {
                    timerNum1.Start();
                }
                if (checkBox2.Checked)
                {
                    timerNum2.Start();
                }
                if (checkBox3.Checked)
                {
                    timerNum3.Start();
                }
                if (checkBox4.Checked)
                {
                    timerNum4.Start();
                }
                if (checkBox5.Checked)
                {
                    timerNum5.Start();
                }
                if (checkBox6.Checked)
                {
                    timerNum6.Start();
                }
                if (checkBox7.Checked)
                {
                    timerNum7.Start();
                }
                if (checkBox8.Checked)
                {
                    timerNum8.Start();
                }
                if (checkBox9.Checked)
                {
                    timerNum9.Start();
                }
                if (checkBox10.Checked)
                {
                    timerNum0.Start();
                }
                if (checkBox11.Checked)
                {
                    timerNumSpace.Start();
                }
                if (checkBox12.Checked)
                {
                    MobSelect.Start();
                }
                if (checkBoxYil.Checked)
                {
                    timerNumYil.Start();
                }
                if (checkBoxEs.Checked)
                {
                    timerNumEs.Start();
                }
                if (checkBoxAlt1.Checked)
                {
                    timerAltNum1.Start();
                }
                if (checkBoxAlt2.Checked)
                {
                    timerAltNum2.Start();
                }
                if (checkBoxAlt2.Checked)
                {
                    timerAltNum2.Start();
                }
                if (checkBoxAlt3.Checked)
                {
                    timerAltNum3.Start();
                }
                if (checkBoxAlt4.Checked)
                {
                    timerAltNum4.Start();
                }
                if (checkBoxAlt5.Checked)
                {
                    timerAltNum5.Start();
                }
                if (checkBoxAlt6.Checked)
                {
                    timerAltNum6.Start();
                }
                if (checkBoxAlt7.Checked)
                {
                    timerAltNum7.Start();
                }
                if (checkBoxAlt8.Checked)
                {
                    timerAltNum8.Start();
                }
                if (checkBoxAlt9.Checked)
                {
                    timerAltNum9.Start();
                }
                if (checkBoxAlt0.Checked)
                {
                    timerAltNum0.Start();
                }
                if (checkBoxAltYil.Checked)
                {
                    timerAltNumYil.Start();
                }
                if (checkBoxAltEs.Checked)
                {
                    timerAltNumEs.Start();
                }
            }
            catch (Exception exception)
            {
                Logger(exception);
            }

            #endregion
        }