private void Form2_Load(object sender, EventArgs e) { this.lic_Settings = LicHeader.PropLicSettings; this.Type.SelectedIndex = this.lic_Settings.type; this.Android.SelectedIndex = this.lic_Settings.Android; this.Blackberry.SelectedIndex = this.lic_Settings.Blackberry; this.Flash.SelectedIndex = this.lic_Settings.Flash; this.IPhone.SelectedIndex = this.lic_Settings.iPhone; this.PlayStation.Checked = this.lic_Settings.PlayStation; this.Wii.Checked = this.lic_Settings.Wii; this.WinStore.SelectedIndex = this.lic_Settings.WinStore; this.Xbox.Checked = this.lic_Settings.Xbox; this.Team.Checked = this.lic_Settings.team; this.Tizen.SelectedIndex = this.lic_Settings.Tizen; this.SamsungTV.SelectedIndex = this.lic_Settings.SamsungTV; this.Psm.Checked = this.lic_Settings.psm; this.Educt.Checked = this.lic_Settings.educt; this.Nrelerase.Checked = this.lic_Settings.nrelerase; }
static LicHeader() { // Note: this type is marked as 'beforefieldinit'. LicHeader.PropLicSettings = new LicHeader.LicSettings(); }
public Form2() { base.Load += new EventHandler(this.Form2_Load); this.lic_Settings = new LicHeader.LicSettings(); this.InitializeComponent(); }