Пример #1
0
 private async void btnInstallUpdate_Click(object sender, EventArgs e)
 {
     try
     {
         pbMain.Visible = true;
         await _im.AutoInstallAsync();
     }
     catch (Exception exc)
     {
         MessageBox.Show(exc.Message);
     }
 }
Пример #2
0
 private async void button1_Click(object sender, EventArgs e)
 {
     InstallManager im = new InstallManager("adamosoftware", "install", "BlobakSetup.exe", "Blobak");
     await im.AutoInstallAsync(true);
 }