public PnlModUploadOptions(GPG.Multiplayer.Client.Vaulting.Mods.Mod mod) { this.InitializeComponent(); this.mMod = mod; this.gpgLabelCopyright.Text = mod.Copyright; this.gpgLabelDeveloper.Text = mod.DeveloperName; this.gpgLabelExclusive.Text = this.ParseBool(mod.Exclusive); this.gpgLabelFileCount.Text = mod.NumberOfFiles.ToString(); this.gpgLabelGuid.Text = mod.Guid; this.gpgLabelUIOnly.Text = this.ParseBool(mod.UIOnly.Value); this.gpgLabelWebsite.Text = mod.Website; this.pictureBoxPreview.Image = mod.PreviewImage50; }
public PnlModDownloadOptions(GPG.Multiplayer.Client.Vaulting.Mods.Mod mod) { this.InitializeComponent(); this.mMod = mod; this.CriteriaChanged(null, null); }