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