10 references to FromLogFont
System.Drawing.Common.Tests (5)
System\Drawing\FontTests.cs (5)
584using Font font = Font.FromLogFont(logFont); 598AssertExtensions.Throws<ArgumentException>(null, () => Font.FromLogFont(null)); 603AssertExtensions.Throws<ArgumentNullException>("lf", () => Font.FromLogFont(null)); 622AssertExtensions.Throws<ArgumentException>(null, () => Font.FromLogFont(logFont)); 645using Font font = Font.FromLogFont(logFont);
System.Windows.Forms.Primitives.Tests (5)
Interop\User32\SystemParametersInfoWTests.cs (5)
18Font captionFont = Font.FromLogFont(data.lfCaptionFont); 21Font menuFont = Font.FromLogFont(data.lfMenuFont); 24Font messageFont = Font.FromLogFont(data.lfMessageFont); 27Font smCaptionFont = Font.FromLogFont(data.lfSmCaptionFont); 30Font statusFont = Font.FromLogFont(data.lfStatusFont);