4 references to DrawText
System.Windows.Forms.Tests (4)
System\Windows\Forms\TextRendererTests.cs (4)
38TextRenderer.DrawText(graphics, text, font, pt, foreColor); 41TextRenderer.DrawText(graphics, text, font, pt, foreColor); 323TextRenderer.DrawText(mockDeviceContext.Object, "text", SystemFonts.MenuFont, Point.Empty, Color.Red); 391Assert.Throws<ArgumentNullException>("dc", () => TextRenderer.DrawText(null, "text", SystemFonts.MenuFont, Point.Empty, Color.Red));