private void CloneOrCheckOutRepo(GroupDocsComponent component) { downloadTaskCompleted = false; timer1.Start(); Task repoUpdateWorker = new Task(delegate { CloneOrCheckOutRepoWorker(component); }); repoUpdateWorker.Start(); progressTask = new Task(delegate { progressDisplayTask(); }); progressBar1.Enabled = true; progressTask.Start(); ContinueButton.Enabled = false; toolStripStatusMessage.Text = "Please wait while the Examples are being downloaded..."; }
private void CloneOrCheckOutRepoWorker(GroupDocsComponent component) { GitHelper.CloneOrCheckOutRepo(component); downloadTaskCompleted = true; }