2 writes to _treeView1
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (2)
221
_treeView1
= new TreeView();
618
_treeView1
= null;
55 references to _treeView1
System.Windows.Forms.Design (55)
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (55)
67
DesignerUtils.ApplyTreeViewThemeStyles(
_treeView1
);
90
TreeNode lastNode =
_treeView1
.Nodes[
_treeView1
.Nodes.Count - 1];
159
newNode =
_treeView1
.Nodes.Add(baseNodeName + NextNode++.ToString(CultureInfo.InvariantCulture));
172
_treeView1
.SelectedNode = parent;
176
_treeView1
.SelectedNode = newNode;
191
_treeView1
.AfterSelect += treeView1_afterSelect;
192
_treeView1
.DragEnter += treeView1_DragEnter;
193
_treeView1
.ItemDrag += treeView1_ItemDrag;
194
_treeView1
.DragDrop += treeView1_DragDrop;
195
_treeView1
.DragOver += treeView1_DragOver;
295
_treeView1
.AllowDrop = true;
296
resources.ApplyResources(
_treeView1
, "treeView1");
297
_treeView1
.HideSelection = false;
298
_treeView1
.Name = "treeView1";
374
_treeView1
.Margin = new Padding(0, PIXEL_3, PIXEL_3, PIXEL_3);
381
_overarchingTableLayoutPanel.Controls.Add(
_treeView1
, 0, 1);
396
_overarchingTableLayoutPanel.Controls.Remove(
_treeView1
);
397
_overarchingTableLayoutPanel.Controls.Add(
_treeView1
, 0, 1);
422
_treeView1
.Nodes.Clear();
423
_treeView1
.Nodes.AddRange(nodes);
440
_treeView1
.SelectedNode = nodes[0];
451
_label2.Text = string.Format(SR.CollectionEditorProperties,
_treeView1
.SelectedNode.Text);
459
_treeView1
.ImageList = actualTreeView.ImageList;
460
_treeView1
.ImageIndex = actualTreeView.ImageIndex;
461
_treeView1
.SelectedImageIndex = actualTreeView.SelectedImageIndex;
466
_treeView1
.ImageList = null;
467
_treeView1
.ImageIndex = -1;
468
_treeView1
.SelectedImageIndex = -1;
473
_treeView1
.StateImageList = actualTreeView.StateImageList;
477
_treeView1
.StateImageList = null;
481
_treeView1
.CheckBoxes = actualTreeView.CheckBoxes;
534
position =
_treeView1
.PointToClient(position);
535
TreeNode dropNode =
_treeView1
.GetNodeAt(position);
541
_treeView1
.Nodes.Remove(dragNode);
549
_treeView1
.Nodes.Add(dragNode);
577
position =
_treeView1
.PointToClient(position);
578
TreeNode currentNode =
_treeView1
.GetNodeAt(position);
579
_treeView1
.SelectedNode = currentNode;
597
if (
_treeView1
.Nodes.Count == 0)
608
object[] values = new object[
_treeView1
.Nodes.Count];
611
values[i] =
_treeView1
.Nodes[i].Clone();
617
_treeView1
.Dispose();
628
_treeView1
.Nodes.RemoveAt(tempNode.Index);
629
_treeView1
.Nodes[tempNode.Index].Nodes.Insert(0, tempNode);
642
_treeView1
.Nodes.Insert(parent.Index + 1, tempNode);
651
_treeView1
.SelectedNode = tempNode;
662
_treeView1
.Nodes.RemoveAt(tempNode.Index);
663
_treeView1
.Nodes[tempNode.Index - 1].Nodes.Add(tempNode);
672
_treeView1
.Nodes.Insert(parent.Index, tempNode);
685
_treeView1
.SelectedNode = tempNode;
691
bool nodesExist =
_treeView1
.Nodes.Count > 0;
698
&& _curNode !=
_treeView1
.Nodes[
_treeView1
.Nodes.Count - 1];
699
_moveUpButton.Enabled = nodesExist && _curNode !=
_treeView1
.Nodes[0];