예제 #1
0
 public static PaletteBlue GetSelf()
 {
     if (null == self)
     {
         self = new PaletteBlue();
     }
     return(self);
 }
예제 #2
0
        /// <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();
        }