public void formSetup() { this.parent = Program.form; this.txtApplicationName.Text = "PSPo2 Save Editor"; if (this.parent.legitVersion()) { this.txtApplicationName.Text = "PSPo2 Save Viewer"; } this.txtApplicationName.Text += " v3.0 build 1008"; this.showDatabaseInfo(); this.showImagePackInfo(); this.showChangeLogInfo(); }
public void initForm() { this.selectedDropList = weaponDbForm.dropListType.none; this.enableAllDropListButtons(); this.clearAllFields(); this.parent = Program.form; this.pnlDropList.Visible = false; this.loadDbWeaponLinks(); if (!Program.form.legitVersion()) { return; } this.btnExport.Visible = false; }
public void formSetup(string newVersion) { this.parent = Program.form; string str1 = "PSPo2 Save Editor"; string str2 = "changelog.bin"; if (this.parent.legitVersion()) { str2 = "changelog_viewer.bin"; str1 = "PSPo2 Save Viewer"; } if (this.parent.downloadFile("http://files-ds-scene.net/retrohead/pspo2se/releases/" + str2, "data/temp/", "Change Log")) { this.txtApplicationName.Text = str1 + " v3.0 build 1008"; this.txtApplicationNameNew.Text = str1 + " v" + newVersion; this.showChangeLogInfo(); } else { int num = (int)MessageBox.Show("Failed to download the latest changelog, please check your internet connection\r\nor the site may be down!", "Change Log Download Failure", MessageBoxButtons.OK, MessageBoxIcon.Hand); } }