private void playButton_Click(object sender, EventArgs e) { var patchForm = new Patcher(this._config, this._hasUpdates); if (!patchForm.IsDisposed) { patchForm.ShowDialog(); } this.Launch(this._config.Servers[this.cmbServer.SelectedItem.ToString()]); }
} //end updateChecker_RunWorkerCompleted private void btnCheck_Click(object sender, EventArgs e) { this.btnCheck.Enabled = false; var patchForm = new Patcher(this._config, true, true); if (!patchForm.IsDisposed) { patchForm.ShowDialog(); } this.btnCheck.Enabled = true; } //end btnCheck_Click