public void SetMailLanguageComboBoxValue(String code)
 {
     if (_bSupportMailLanguage && PerfmonOptionsDefinition.MailLanguageHasCode(code))
     {
         MailLanguageComboBox.SelectedValue = code;  // Feature supported and code is valid
     }
     else
     {
         // Set default value
         if (PerfmonOptionsDefinition.MailLanguageHasCode(BrandManager.PerfAlertMailDefaultLanguage))
         {
             MailLanguageComboBox.SelectedValue = BrandManager.PerfAlertMailDefaultLanguage;
         }
         else
         {
             MailLanguageComboBox.SelectedIndex = 0;
         }
     }
 }
 public void SetMailLanguageComboBoxValue(String code)
 {
     if (_bSupportMailLanguage && PerfmonOptionsDefinition.MailLanguageHasCode(code))
     {
         MailLanguageComboBox.SelectedValue = code;  // Feature supported and code is valid
     }
     else
     {
         // Set default value
         if (PerfmonOptionsDefinition.MailLanguageHasCode(Branding.BRANDING_PERF_ALERT_MAIL_LANGUAGE_DEFAULT))
         {
             MailLanguageComboBox.SelectedValue = Branding.BRANDING_PERF_ALERT_MAIL_LANGUAGE_DEFAULT;
         }
         else
         {
             MailLanguageComboBox.SelectedIndex = 0;
         }
     }
 }