//Ok, you've seen everything of importance at this point; I am begging you to spare yourself. You must not read any further! public void AddItem(string text, params string[] subItems) { List <NSListViewSubItem> Items = new List <NSListViewSubItem>(); foreach (string I in subItems) { NSListViewSubItem SubItem = new NSListViewSubItem(); SubItem.Text = I; Items.Add(SubItem); } NSListViewItem Item = new NSListViewItem(); Item.Text = text; Item.SubItems = Items; _Items.Add(Item); InvalidateScroll(); }
//Ok, you've seen everything of importance at this point; I am begging you to spare yourself. You must not read any further! public void AddItem(string text, params string[] subItems) { List<NSListViewSubItem> Items = new List<NSListViewSubItem>(); foreach (string I in subItems) { NSListViewSubItem SubItem = new NSListViewSubItem(); SubItem.Text = I; Items.Add(SubItem); } NSListViewItem Item = new NSListViewItem(); Item.Text = text; Item.SubItems = Items; _Items.Add(Item); InvalidateScroll(); }