Exemple #1
0
 void action_ProgressChanged(HttpResult res)
 {
     while (panProgress.Created == false)
     {
         panProgress.CreateControl();
         Application.DoEvents();
     }
     panProgress.Invoke(new ProgressDelegate(updateProgress),
                        new object[] { res.Value, res.Total, res.Caption, res.SubValue, res.SubTotal });
 }
Exemple #2
0
 void action_ProgressChanged(object sender, EventArgs e)
 {
     while (panProgress.Created == false)
     {
         panProgress.CreateControl();
         Application.DoEvents();
     }
     panProgress.Invoke(new ProgressDelegate(updateProgress),
                        new object[] { currentAction.Progress.Value, currentAction.Progress.Total, currentAction.Progress.Caption });
 }