4 references to DrawText
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
194TextRenderer.DrawText(g, name, drawFont, new Point(watermarkX, watermarkY), waterMarkTextColor, TextFormatFlags.PreserveGraphicsClipping | TextFormatFlags.PreserveGraphicsTranslateTransform);
System.Windows.Forms.Tests (3)
System\Windows\Forms\TextRendererTests.cs (3)
109TextRenderer.DrawText(graphics, text, font, pt, foreColor, flags); 112TextRenderer.DrawText(graphics, text, font, pt, foreColor, flags); 331TextRenderer.DrawText(mockDeviceContext.Object, "text", SystemFonts.MenuFont, Point.Empty, Color.Red, TextFormatFlags.Default);