void Checker_UpdateFound(UpgradeChecker.UpgradeInfo Info) { using (UpgradeForm uf = new UpgradeForm()) { uf.Owner = this; uf.NewVersion = Info; uf.ShowDialog(); uf.Dispose(); } }
private void menuUpdate_Click(object sender, EventArgs e) { if (UpgradeChecker.devBuild) { using (UpgradeForm f = new UpgradeForm()) { f.ShowDialog(); } } else { Checker.CheckForUpgrade(); } }
void UpdateChecker_UpdateFound(UpgradeChecker.UpgradeInfo Info) { using (UpgradeForm uf = new UpgradeForm()) { uf.NewVersion = Info; uf.ShowDialog(); } }