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(); 108_inheritanceUI.AddInheritedControl(_control, inheritanceLevel); 113toolTip.GetToolTip(_control).Should().Be(expectedText); 120_inheritanceUI.AddInheritedControl(_control, InheritanceLevel.Inherited); 124toolTip.GetToolTip(_control).Should().Be("Inherited control"); 128_inheritanceUI.RemoveInheritedControl(_control); 130toolTip.GetToolTip(_control).Should().BeEmpty(); 150_inheritanceUI.Invoking(ui => ui.RemoveInheritedControl(_control)).Should().NotThrow(); 152_inheritanceUI.AddInheritedControl(_control, InheritanceLevel.Inherited); 153_inheritanceUI.RemoveInheritedControl(_control); 158toolTip.GetToolTip(_control).Should().BeEmpty();