12 references to ToolStripRenderEventArgs
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
328Renderer.DrawStatusStripSizingGrip(new ToolStripRenderEventArgs(e.Graphics, this));
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
3594Renderer.DrawToolStripBorder(new ToolStripRenderEventArgs(toolstripGraphics, this)); 3652Renderer.DrawToolStripBackground(new ToolStripRenderEventArgs(g, this));
System\Windows\Forms\Controls\ToolStrips\ToolStripGripRenderEventArgs.cs (1)
14: base(g, toolStrip)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (2)
82Renderer.DrawToolStripBackground(new ToolStripRenderEventArgs(e.Graphics, this)); 83Renderer.DrawToolStripBorder(new ToolStripRenderEventArgs(e.Graphics, this));
System.Windows.Forms.Tests (6)
System\Windows\Forms\ToolStripRendererTests.cs (4)
487ToolStripRenderEventArgs eventArgs = new(graphics, toolStrip); 522yield return new object[] { new ToolStripRenderEventArgs(graphics, new ToolStrip()) }; 523yield return new object[] { new ToolStripRenderEventArgs(graphics, new StatusStrip()) }; 920ToolStripRenderEventArgs e = new(graphics, toolStrip);
System\Windows\Forms\ToolStripRenderEventArgsTests.cs (2)
24Assert.Throws<ArgumentNullException>(() => new ToolStripRenderEventArgs(g, toolStrip)); 42ToolStripRenderEventArgs e = new(graphics, toolStrip);