19 references to Font
PresentationUI (1)
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
150
_instructionlabel.Font = new System.Drawing.
Font
("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
System.Drawing.Common.Tests (5)
System\Drawing\FontConverterTests.cs (2)
144
{ new
Font
("Courier", 1.0f, FontStyle.Regular, GraphicsUnit.Pixel, gdiCharSet: 2 /* SYMBOL_CHARSET */), 5 },
145
{ new
Font
("Courier", 1.0f, FontStyle.Regular, GraphicsUnit.Point, gdiCharSet: 1 /* DEFAULT_CHARSET */), 2 },
System\Drawing\FontTests.cs (3)
245
using Font font =
new
(fontFamily.Name, emSize, style, unit, gdiCharSet);
369
AssertExtensions.Throws<ArgumentException>("emSize", () => new
Font
(family.Name, emSize, FontStyle.Italic, GraphicsUnit.Document, 10));
386
AssertExtensions.Throws<ArgumentException>(null, () => new
Font
(family.Name, 10, FontStyle.Italic, unit, 10));
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\AxHost.cs (1)
3795
return new
Font
(
System.Windows.Forms.Tests (6)
System\Windows\Forms\AxHostTests.cs (2)
1475
using Font font =
new
("Arial", 10, FontStyle.Bold | FontStyle.Underline | FontStyle.Italic | FontStyle.Strikeout, GraphicsUnit.Point, 10);
1544
using Font font =
new
("Arial", 10, FontStyle.Bold | FontStyle.Underline | FontStyle.Italic | FontStyle.Strikeout, GraphicsUnit.Point, 10);
System\Windows\Forms\RichTextBoxTests.cs (4)
1604
using (Font font =
new
(familyName, emSize, style, unit, gdiCharSet))
4822
using Font value = hasStyle ? new
Font
(fontName, fontSize, fontStyle, units, gdiCharSet) : new Font(fontName, fontSize);
4849
using Font value = hasStyle ? new
Font
(fontName, fontSize, fontStyle, units, gdiCharSet) : new Font(fontName, fontSize);
4920
yield return new object[] { new
Font
("Arial", 8.25f, FontStyle.Bold | FontStyle.Italic | FontStyle.Regular | FontStyle.Strikeout | FontStyle.Underline, GraphicsUnit.Point, 10), 165, CFE_EFFECTS.CFE_BOLD | CFE_EFFECTS.CFE_ITALIC | CFE_EFFECTS.CFE_UNDERLINE | CFE_EFFECTS.CFE_STRIKEOUT };
WinFormsControlsTest (6)
DataGridViewInVirtualModeTest.Designer.cs (1)
87
this.Font = new System.Drawing.
Font
("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
DataGridViewTest.Designer.cs (5)
58
dataGridViewCellStyle1.Font = new System.Drawing.
Font
("Cascadia Code", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
76
dataGridViewCellStyle3.Font = new System.Drawing.
Font
("Consolas", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
148
this.changeFontButton.Font = new System.Drawing.
Font
("Consolas", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
196
this.resetFontButton.Font = new System.Drawing.
Font
("Consolas", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
216
this.Font = new System.Drawing.
Font
("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));