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(); }
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(); }
private void allToolStripMenuItem1_Click(object sender, EventArgs e) { FlowsListView.BeginUpdate(); FlowsListView.CollapseAll(); FlowsListView.EndUpdate(); }