예제 #1
0
        private void lkSetGoogleConfiguration_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            GoogleVASConfigForm f = new GoogleVASConfigForm();

            f.ShowDialog();
            googleConfig    = f.GetConfig();
            btnPlay.Enabled = (cbReaders.SelectedIndex >= 0) ? googleConfig.IsValid() : false;
        }
예제 #2
0
        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);
        }