private void button4_Click(object sender, EventArgs e) { WorkStatus.AddinInstalling(); Task.Run(() => { WaitForCompletetion(); }); Task.Run(() => { ClickOnce.OutlookAddin(); }); }
private void button8_Click(object sender, EventArgs e) { WorkStatus.AddinUninstaling(); Settings.UninstallAddin = true; Task.Run(() => { WaitForCompletetion(); }); Task.Run(() => { ClickOnce.OutlookAddin(); }); }