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