Exemplo n.º 1
0
 internal void OnItemAdded(GroupViewItem item)
 {
     if (this._groupListView != null)
     {
         int index = this._items.IndexOf(item);
         GroupViewListViewItem item2 = new GroupViewListViewItem(item);
         this._groupListView.Items.Insert(index, item2);
     }
 }
Exemplo n.º 2
0
 internal void OnActivate(ListView currentListView)
 {
     this._groupListView = currentListView;
     foreach (GroupViewItem item in this._items)
     {
         GroupViewListViewItem item2 = new GroupViewListViewItem(item);
         this._groupListView.Items.Add(item2);
         item.ListViewItem = item2;
     }
 }