#if NET_2_0
-namespace System.Drawing
-{
- public sealed class SystemFonts
- {
+namespace System.Drawing {
+
+ public sealed class SystemFonts {
+
static SystemFonts ()
{
}
return DefaultFont;
if (systemFontName == "DialogFont")
- return DialogFont;
+ return DialogFont;
if (systemFontName == "IconTitleFont")
return IconTitleFont;
return SmallCaptionFont;
if (systemFontName == "StatusFont")
- return StatusFont;
+ return StatusFont;
return null;
}
- public static Font CaptionFont {
+ public static Font CaptionFont {
get { return new Font ("Microsoft Sans Serif", 11, "CaptionFont"); }
}
- public static Font DefaultFont {
+ public static Font DefaultFont {
get { return new Font ("Microsoft Sans Serif", 8.25f, "DefaultFont"); }
}
- public static Font DialogFont {
+ public static Font DialogFont {
get { return new Font ("Tahoma", 8, "DialogFont"); }
}
- public static Font IconTitleFont {
+ public static Font IconTitleFont {
get { return new Font ("Microsoft Sans Serif", 11, "IconTitleFont"); }
}
- public static Font MenuFont {
+ public static Font MenuFont {
get { return new Font ("Microsoft Sans Serif", 11, "MenuFont"); }
}
- public static Font MessageBoxFont {
+ public static Font MessageBoxFont {
get { return new Font ("Microsoft Sans Serif", 11, "MessageBoxFont"); }
}
- public static Font SmallCaptionFont {
+ public static Font SmallCaptionFont {
get { return new Font ("Microsoft Sans Serif", 11, "SmallCaptionFont"); }
}
- public static Font StatusFont {
+ public static Font StatusFont {
get { return new Font ("Microsoft Sans Serif", 11, "StatusFont"); }
- }
+ }
}
}