Example #1
0
 public static void WorkFlowTimerStart(bool start)
 {
     if (start)
     {
         if (!timer.IsCounting)
         {
             timer.StartTimer(60000, 60000);
         }
     }
     else
     {
         timer.StopTimer();
         Save();
     }
 }
Example #2
0
 public override void StopHandler(BaseClass sender, StateEventArgs e)
 {
     base.StopHandler(sender, e);
     timer.StopTimer();
 }
Example #3
0
 public static void CommonRelease()
 {
     timer.StopTimer();
     CloseCDIVision();
 }
Example #4
0
 public override void StopHandler(BaseClass sender, StateEventArgs e)
 {
     base.StopHandler(sender, e);
     BaseForm.SetControlText(cellTextBoxWorkFlowStart, "无");
     timer.StopTimer();
 }