Exemple #1
0
 private void button7_Click(object sender, EventArgs e)
 {
     WorkStatus.UnityUninstall();
     Task.Run(() =>
     {
         WaitForCompletetion();
     });
     Task.Run(() => { ClickOnce.UnitySimpleUninstall(); });
 }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     WorkStatus.RepairStarted();
     Task.Run(() => { WaitForCompletetion(); });
     Task.Run(() =>
     {
         ClickOnce.UnitySimpleUninstall(true);
         FolderHelper foldz = new FolderHelper();
         foldz.Remove2_0Folder();
         ClickOnce.UnityInstall();
     });
 }
Exemple #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     WorkStatus.UnityStarted();
     Task.Run(() =>
     {
         WaitForCompletetion();
     });
     Task.Run(() =>
     {
         ClickOnce.UnitySimpleUninstall(true);
         ClickOnce.UnityInstall(); // Status completion happens in this function since threaded
     });
 }