ATMLCommonLibrary.controls.lists.SwitchingListControl.AddSwitchItem C# (CSharp) Method

AddSwitchItem() private method

private AddSwitchItem ( Item item ) : void
item Item
return void
        private void AddSwitchItem(Item item)
        {
            var lvi = new ListViewItem(item.GetType().Name);
            lvi.SubItems.Add(item.name);
            lvi.SubItems.Add(item.Description);
            lvi.Tag = item;
            lvList.Items.Add(lvi);
        }