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