Esempio n. 1
0
 private void btnStartStop_Click(object sender, EventArgs e)
 {
     if (btnStartStop.Text == Constant.START)
     {
         if (!isOK)
         {
             Biz.RandomSeed();
             isOK = true;
         }
         Biz.GetAllLife();
         tmrTime.Start();
         btnStartStop.Text = Constant.STOP;
     }
     else
     {
         btnStartStop.Text = Constant.START;
         tmrTime.Stop();
     }
 }
Esempio n. 2
0
 private void btnRndSeed_Click(object sender, EventArgs e)
 {
     Biz.RandomSeed();
     isOK = true;
 }