Пример #1
0
 void Checker_UpdateFound(UpgradeChecker.UpgradeInfo Info)
 {
     using (UpgradeForm uf = new UpgradeForm())
     {
         uf.Owner = this;
         uf.NewVersion = Info;
         uf.ShowDialog();
         uf.Dispose();
     }
 }
Пример #2
0
 private void menuUpdate_Click(object sender, EventArgs e)
 {
     if (UpgradeChecker.devBuild)
     {
         using (UpgradeForm f = new UpgradeForm())
         {
             f.ShowDialog();
         }
     }
     else
     {
         Checker.CheckForUpgrade();
     }
 }
Пример #3
0
 void UpdateChecker_UpdateFound(UpgradeChecker.UpgradeInfo Info)
 {
     using (UpgradeForm uf = new UpgradeForm())
     {
         uf.NewVersion = Info;
         uf.ShowDialog();
     }
 }