示例#1
0
 public static void Start()
 {
     Log.Write("Start JobProgress...", typeof(JobProgress), "Start", Log.LogType.DEBUG);
     e = new EventArgsStatusChange("Starting");
     lastMessageTime = DateTime.Now;
     JobProgress.form.ShowFormThreadCounter();
 }
示例#2
0
 void isStatus_StatusChange(object sender, EventArgsStatusChange e)
 {
     tssStatus.Text = e.Message;
 }
示例#3
0
 private static void OnStatusChange(EventArgsStatusChange e)
 {
     if (JobProgress.form != null)
     {
         if (JobProgress.form.StatusChange != null)
         {
             JobProgress.form.StatusChange(JobProgress.form, e);
         }
     }
     Application.DoEvents();
 }