2 writes to _treeView
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\TreeViewDesigner.cs (2)
37
_treeView
= null;
61
_treeView
= component as TreeView;
8 references to _treeView
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\TreeViewDesigner.cs (8)
33
if (
_treeView
is not null)
35
_treeView
.AfterExpand -= TreeViewInvalidate;
36
_treeView
.AfterCollapse -= TreeViewInvalidate;
62
Debug.Assert(
_treeView
is not null, "TreeView is null in TreeViewDesigner");
63
if (
_treeView
is not null)
65
_treeView
.AfterExpand += TreeViewInvalidate;
66
_treeView
.AfterCollapse += TreeViewInvalidate;
70
private void TreeViewInvalidate(object? sender, TreeViewEventArgs e) =>
_treeView
?.Invalidate();