4 references to DrawText
System.Windows.Forms (1)
System\Windows\Forms\VisualStyles\VisualStyleRenderer.cs (1)
357DrawText(dc, bounds, textToDraw, false);
System.Windows.Forms.Tests (3)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (3)
451renderer.DrawText(graphics, bounds, textToDraw, drawDisabled); 492Assert.Throws<ArgumentNullException>("dc", () => renderer.DrawText(null, new Rectangle(1, 2, 3, 4), "text", true)); 493Assert.Throws<ArgumentNullException>("dc", () => renderer.DrawText(null, new Rectangle(1, 2, 3, 4), "text", false));