コード例 #1
0
 public void NextAction() {
     current = null;
     current = IAction.GetNext();
     ChangeLable(current.action);
     current.Completed += new IAction.ProgressChanged(action_Completed);
     current.OnProgress += new IAction.ProgressChanged(action_progress);
     current.Start();
 }
コード例 #2
0
 public void StartActions() {
     IAction.actions.Add(new Normal_Update());
     if (Program.dlactions.Count > 0) {
         foreach (string dl in Program.dlactions) {
             IAction.actions.Add(new Download_Action(dl));
         }
     }
     Program.dlactions.Clear();
     current = IAction.GetNext();
     ChangeLable(current.action);
     current.OnProgress += new IAction.ProgressChanged(action_progress);
     current.Completed += new IAction.ProgressChanged(action_Completed);
     current.Start();
 }