Пример #1
0
 private void button6_Click(object sender, EventArgs e)
 {
     WorkStatus.AddinInstalling();
     Task.Run(() =>
     {
         WaitForCompletetion();
     });
     Task.Run(() => { ClickOnce.WordAddin(); });
 }
Пример #2
0
 private void button10_Click(object sender, EventArgs e)
 {
     WorkStatus.AddinUninstaling();
     Settings.UninstallAddin = true;
     Task.Run(() =>
     {
         WaitForCompletetion();
     });
     Task.Run(() => { ClickOnce.WordAddin(); });
 }