public static PaletteBlue GetSelf() { if (null == self) { self = new PaletteBlue(); } return(self); }
/// <summary> /// 重新加载 /// </summary> internal void Reload() { currentResourceFont = new System.Drawing.Font(Resources.GetRes().GetString("FontName2"), float.Parse(Resources.GetRes().GetString("FontSize"))); currentLittleResourceFont = new System.Drawing.Font(Resources.GetRes().GetString("FontName2"), 9f); fontName = Resources.GetRes().GetString("FontName2"); fontSize = float.Parse(Resources.GetRes().GetString("FontSize")); PaletteBlue.GetSelf().DefineFonts(); }