Exemple #1
0
        void AddItemToList(NgbhItem item)
        {
            if (item == null)
            {
                return;
            }

            NgbhItemsListViewItem lvi = new NgbhItemsListViewItem(this, item);
        }
Exemple #2
0
        NgbhItem GetFocusedItem()
        {
            NgbhItemsListViewItem li = this.SelectedItem;

            if (li == null)
            {
                return(null);
            }
            return(li.Item);
        }
Exemple #3
0
        void InsertItemToList(int index, NgbhItem item)
        {
            if (item == null)
            {
                return;
            }

            NgbhItemsListViewItem lvi = new NgbhItemsListViewItem(this, item, false);

            lv.Items.Insert(index, lvi);
        }