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]; } }
public ListGridItem(string[] items) : base(items) { SubItems = new ListGridSubItemCollection(this); }