Beispiel #1
0
        private void AddViewLoacleInfo(
            string locale,
            string localeFormat,
            UpgradeReportView urv)
        {
            ReportViewLocaleInfo rvli = new ReportViewLocaleInfo();

            rvli.LocaleID     = locale;
            rvli.LocaleFormat = localeFormat;
            urv.ViewLocaleInfos.Add(rvli);
        }
Beispiel #2
0
 public ReportViewLocaleInfo this[string LocaleID]
 {
     get
     {
         for (int i = 0; i < this.Count; i++)
         {
             ReportViewLocaleInfo reportViewLocaleInfo = this[i];
             if (reportViewLocaleInfo.LocaleID.ToUpper() == LocaleID.ToUpper())
             {
                 return(reportViewLocaleInfo);
             }
         }
         return(this["zh-CN"]);
     }
 }
Beispiel #3
0
 public void Remove(ReportViewLocaleInfo item)
 {
     base.List.Remove(item);
 }
Beispiel #4
0
 public void Add(ReportViewLocaleInfo item)
 {
     base.List.Add(item);
 }