1 write to _control
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\InheritanceUITests.cs (1)
25_control = new Control { Parent = _form };
13 references to _control
System.Windows.Forms.Design.Tests (13)
System\Windows\Forms\Design\InheritanceUITests.cs (13)
26_childControl = new Control { Parent = _control }; 27_sitedChildControl = new Control { Parent = _control, Site = new Mock<ISite>().Object }; 34_control.Dispose(); 106_inheritanceUI.AddInheritedControl(_control, inheritanceLevel); 111toolTip.GetToolTip(_control).Should().Be(expectedText); 118_inheritanceUI.AddInheritedControl(_control, InheritanceLevel.Inherited); 122toolTip.GetToolTip(_control).Should().Be("Inherited control"); 126_inheritanceUI.RemoveInheritedControl(_control); 128toolTip.GetToolTip(_control).Should().BeEmpty(); 148_inheritanceUI.Invoking(ui => ui.RemoveInheritedControl(_control)).Should().NotThrow(); 150_inheritanceUI.AddInheritedControl(_control, InheritanceLevel.Inherited); 151_inheritanceUI.RemoveInheritedControl(_control); 156toolTip.GetToolTip(_control).Should().BeEmpty();