6 references to SetDefaultFont
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBase.vb (1)
758
Application.
SetDefaultFont
(applicationDefaultsEventArgs.Font)
System.Windows.Forms.Tests (5)
System\Windows\Forms\ApplicationTests.cs (5)
241
Assert.Throws<ArgumentNullException>("font", () => Application.
SetDefaultFont
(null));
251
Assert.Throws<InvalidOperationException>(() => Application.
SetDefaultFont
(SystemFonts.CaptionFont));
272
Application.
SetDefaultFont
(sysFont);
285
Application.
SetDefaultFont
(fakeSysFont);
320
Application.
SetDefaultFont
(customFont);