1 write to _inheritanceUI
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\InheritanceUITests.cs (1)
23
_inheritanceUI
= new InheritanceUI();
17 references to _inheritanceUI
System.Windows.Forms.Design.Tests (17)
System\Windows\Forms\Design\InheritanceUITests.cs (17)
36
_inheritanceUI
.Dispose();
57
_inheritanceUI
.AddInheritedControl(trayControl, inheritanceLevel);
60
ToolTip toolTip =
_inheritanceUI
.TestAccessor().Dynamic._toolTip;
80
_inheritanceUI
.AddInheritedControl(trayControl, InheritanceLevel.Inherited);
83
_inheritanceUI
.RemoveInheritedControl(trayControl);
85
ToolTip toolTip =
_inheritanceUI
.TestAccessor().Dynamic._toolTip;
108
_inheritanceUI
.AddInheritedControl(_control, inheritanceLevel);
109
ToolTip toolTip =
_inheritanceUI
.TestAccessor().Dynamic._toolTip;
120
_inheritanceUI
.AddInheritedControl(_control, InheritanceLevel.Inherited);
121
ToolTip toolTip =
_inheritanceUI
.TestAccessor().Dynamic._toolTip;
128
_inheritanceUI
.RemoveInheritedControl(_control);
141
_inheritanceUI
.TestAccessor().Dynamic._toolTip = mockToolTip.Object;
143
_inheritanceUI
.Invoking(ui => ui.Dispose()).Should().NotThrow();
150
_inheritanceUI
.Invoking(ui => ui.RemoveInheritedControl(_control)).Should().NotThrow();
152
_inheritanceUI
.AddInheritedControl(_control, InheritanceLevel.Inherited);
153
_inheritanceUI
.RemoveInheritedControl(_control);
155
ToolTip toolTip =
_inheritanceUI
.TestAccessor().Dynamic._toolTip;