29 references to InitLayout
System.Windows.Forms (10)
System\Windows\Forms\Control.cs (5)
625parent.LayoutEngine.InitLayout(this, BoundsSpecified.Size); 4228ParentInternal?.LayoutEngine.InitLayout(this, BoundsSpecified.All); 5765LayoutEngine.InitLayout(this, BoundsSpecified.All); 9449LayoutEngine.InitLayout(child, BoundsSpecified.All); 10128ParentInternal.LayoutEngine.InitLayout(this, specified);
System\Windows\Forms\Controls\Buttons\Button.cs (1)
67ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
103ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\Form.cs (1)
555toLayout.LayoutEngine.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\Panels\Panel.cs (1)
86ParentInternal.LayoutEngine.InitLayout(this, BoundsSpecified.Size);
System\Windows\Forms\UserControl.cs (1)
90toLayout.LayoutEngine.InitLayout(this, BoundsSpecified.Size);
System.Windows.Forms.Tests (19)
System\Windows\Forms\ControlTests.ControlCollection.cs (3)
241.Setup(e => e.InitLayout(control, BoundsSpecified.All)) 256mockLayoutEngine.Verify(e => e.InitLayout(control, BoundsSpecified.All), Times.Once()); 268mockLayoutEngine.Verify(e => e.InitLayout(control, BoundsSpecified.All), Times.Once());
System\Windows\Forms\ControlTests.Methods.cs (9)
2969.Setup(e => e.InitLayout(control, BoundsSpecified.All)) 2974mockLayoutEngine.Verify(e => e.InitLayout(control, BoundsSpecified.All), Times.Once()); 2979mockLayoutEngine.Verify(e => e.InitLayout(control, BoundsSpecified.All), Times.Exactly(2)); 6761.Setup(e => e.InitLayout(child, BoundsSpecified.All)) 6769mockLayoutEngine.Verify(e => e.InitLayout(child, BoundsSpecified.All), Times.Exactly(expectedInitLayoutCallCount)); 6775mockLayoutEngine.Verify(e => e.InitLayout(child, BoundsSpecified.All), Times.Exactly(expectedInitLayoutCallCount * 2)); 6809.Setup(e => e.InitLayout(child, BoundsSpecified.All)) 6815mockLayoutEngine.Verify(e => e.InitLayout(child, BoundsSpecified.All), Times.Exactly(expectedInitLayoutCallCount)); 6821mockLayoutEngine.Verify(e => e.InitLayout(child, BoundsSpecified.All), Times.Exactly(expectedInitLayoutCallCount * 2));
System\Windows\Forms\ControlTests.Properties.cs (1)
1011.Setup(e => e.InitLayout(control, BoundsSpecified.None));
System\Windows\Forms\Layout\FlowLayoutTests.cs (3)
16engine.InitLayout(control, BoundsSpecified.All); 24Assert.Throws<NotSupportedException>(() => engine.InitLayout("child", BoundsSpecified.All)); 32Assert.Throws<ArgumentNullException>("child", () => engine.InitLayout(null, BoundsSpecified.All));
System\Windows\Forms\Layout\LayoutEngineTests.cs (3)
14engine.InitLayout(new ScrollableControl(), BoundsSpecified.All); 21Assert.Throws<NotSupportedException>(() => engine.InitLayout("child", BoundsSpecified.All)); 28Assert.Throws<ArgumentNullException>("child", () => engine.InitLayout(null, BoundsSpecified.All));