Example #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="?"></param>
        /// <param name="texts"></param>
        /// <returns></returns>
        private static ColumnNameTextCollection Create(string[] names, string[] texts)
        {
            ColumnNameTextCollection s = new ColumnNameTextCollection();

            for (int i = 0; i < names.Length; i++)
            {
                ColumnNameText item = new ColumnNameText();
                item.Name = names[i];
                item.Text = texts[i];
                s.Add(item);
            }
            return(s);
        }
Example #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="?"></param>
 /// <param name="texts"></param>
 /// <returns></returns>
 private static ColumnNameTextCollection Create(string[] names, string[] texts)
 {
     ColumnNameTextCollection s = new ColumnNameTextCollection();
     for (int i = 0; i < names.Length; i++)
     {
         ColumnNameText item = new ColumnNameText();
         item.Name = names[i];
         item.Text = texts[i];
         s.Add(item);
     }
     return s;
 }