private void PatchedNextButton_Click(object sender, EventArgs e) { page1.Visible = false; page2patched.Visible = true; if (InstallActions.CheckSteamSkinDirectoryExists(SteamSkinPath)) { DownloadPatchWorker.RunWorkerAsync(); } else { MessageBox.Show("No Steam Skin directory found."); } }
private void OfficialInstallbutton_Click(object sender, EventArgs e) { if (InstallActions.CheckSteamSkinDirectoryExists(SteamSkinPath)) { bool isPatch = false; List <bool> InstallerArguments = new List <bool>(); InstallerArguments.Add(isPatch); page1.Visible = false; InstallerPage.Visible = true; DownloadWorker.RunWorkerAsync(InstallerArguments); } else { MessageBox.Show("No Steam Skin directory found."); } }