private void lkSetAppleConfiguration_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { AppleVASConfigForm f = new AppleVASConfigForm(); f.ShowDialog(); appleConfig = f.GetConfig(); // TODO check apple config //btnPlay.Enabled = (cbReaders.SelectedIndex >= 0) ? configApple.IsValid() : false; }
private void MainForm_Load(object sender, EventArgs e) { /* Load configurations */ GoogleVASConfigForm googleConfigForm = new GoogleVASConfigForm(); googleConfig = googleConfigForm.GetConfig(); AppleVASConfigForm appleConfigForm = new AppleVASConfigForm(); appleConfig = appleConfigForm.GetConfig(); /* Load readers list */ lkRefresh_LinkClicked(sender, null); }