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