示例#1
0
 public ListGridItem(object[] items) : base()
 {
     SubItems = new ListGridSubItemCollection(this);
     string[] inputs = new string[items.Length];
     for (int i = 0; i < items.Length; i++)
     {
         if (items[i] != null)
         {
             inputs[i] = items[i].ToString();
         }
         else
         {
             inputs[i] = "";
         }
         this.SubItems[i].Text = inputs[i];
     }
 }
示例#2
0
 public ListGridItem(string[] items) : base(items)
 {
     SubItems = new ListGridSubItemCollection(this);
 }