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