예제 #1
0
        private void expand()
        {
            FlowsListView.BeginUpdate();
            IEnumerator en = FlowsTable.SelectedItems.GetEnumerator();

            while (en.MoveNext())
            {
                (en.Current as TreeListNode).Expand();
                (en.Current as TreeListNode).EnsureVisible();
            }
            FlowsListView.EndUpdate();
        }
예제 #2
0
 public void FillFlowsTable(Flow[] flows)
 {
     //clear all nodes from flows table
     FlowsListView.Items.Clear();
     //do nothing if flows obejct is null!
     if (flows == null)
     {
         return;
     }
     FlowsListView.SmallImageList = new ImageList();
     FlowsListView.BeginUpdate();
     foreach (Flow flow in flows)
     {
         addFlow(flow);
     }
     FlowsListView.EndUpdate();
 }
예제 #3
0
 private void allToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     FlowsListView.BeginUpdate();
     FlowsListView.CollapseAll();
     FlowsListView.EndUpdate();
 }