示例#1
0
 public void Add_Shot_Time()
 {
     ShotTime++;
     if (ShotTime < 10)
     {
         ShotTime_lb.Text = "0" + ShotTime.ToString();
     }
     else
     {
         ShotTime_lb.Text = ShotTime.ToString();
     }
 }
示例#2
0
 public void DownTime_Timer2()
 {
     ShotTime--;
     if (ShotTime < 10)
     {
         ShotTime_lb.Text = "0" + ShotTime.ToString();
     }
     else
     {
         ShotTime_lb.Text = ShotTime.ToString();
     }
     Check_End_Shot_Time();
 }
示例#3
0
 public void Dec_Shot_Time()
 {
     ShotTime--;
     if (ShotTime < 0)
     {
         return;
     }
     if (ShotTime < 10)
     {
         ShotTime_lb.Text = "0" + ShotTime.ToString();
     }
     else
     {
         ShotTime_lb.Text = ShotTime.ToString();
     }
 }