2 writes to s_defaultFontScaled
System.Windows.Forms (2)
System\Windows\Forms\Application.cs (2)
1383s_defaultFontScaled = null; 1405s_defaultFontScaled = font;
5 references to s_defaultFontScaled
System.Windows.Forms (5)
System\Windows\Forms\Application.cs (5)
347internal static Font DefaultFont => s_defaultFontScaled ?? s_defaultFont!; 1371/// Scale <see cref="s_defaultFont"/> or <see cref="s_defaultFontScaled"/> if needed. 1382s_defaultFontScaled?.Dispose(); 1402if (font is null || !font.Equals(s_defaultFontScaled)) // change s_defaultFontScaled only if needed 1404s_defaultFontScaled?.Dispose();