System\Windows\Forms\TextRendererTests.cs (3)
302TextRenderer.DrawText(graphics, text, font, rectangle, foreColor, backColor, flags);
305TextRenderer.DrawText(graphics, text, font, rectangle, foreColor, backColor, flags);
351TextRenderer.DrawText(mockDeviceContext.Object, "text", SystemFonts.MenuFont, new Rectangle(1, 2, 300, 400), Color.Red, Color.Blue, TextFormatFlags.Default);