public OlderVersionsForm(VersionManifest versions) { InitializeComponent(); Versions = versions; SelectedVersion = null; SetupVersionDropdown(Versions); }
private void cmbVersions_SelectedIndexChanged(object sender, EventArgs e) { foreach (VersionPackage version in Versions.Versions) { if (version.DisplayID == cmbVersions.Text) { SelectedVersion = version; } } lblVersionNameValue.Text = SelectedVersion.VersionName; lblForgeRequirementValue.Text = SelectedVersion.ForgeRequirement.Version; }