예제 #1
0
        private void mpButtonSelectLanguages_Click(object sender, EventArgs e)
        {
            TvSetupAudioLanguageForm frm = new TvSetupAudioLanguageForm();

            frm.InitForm(languageCodes, languagesAvail, _preferredLanguages);
            if (frm.ShowDialog() == DialogResult.OK)
            {
                _preferredLanguages = frm.GetConfig();
                mpTextBoxPreferredLanguages.Text = _preferredLanguages;
            }
        }
예제 #2
0
 private void mpButtonSelectLanguages_Click(object sender, EventArgs e)
 {
   TvSetupAudioLanguageForm frm = new TvSetupAudioLanguageForm();
   frm.InitForm(languageCodes, languagesAvail, _preferredLanguages);
   if (frm.ShowDialog() == DialogResult.OK)
   {
     _preferredLanguages = frm.GetConfig();
     mpTextBoxPreferredLanguages.Text = _preferredLanguages;
   }
 }