Пример #1
0
        /// <summary>
        /// 初始化
        /// </summary>
        static Config()
        {
            Common = new Common();//基本配置信息
            Common.WorkType = WorkType.Both;
            Common.EditFontStr = "Consolas";
            Common.EditFontIndex = 6;
            Common.LineBar = true;
            Common.ShowEndVl = false;
            Common.ShowTabs = false;
            Common.ShowSpace = false;
            Common.ShowHightLine = false;
            Common.BackGround = System.Windows.Media.Colors.Transparent;
            Common.StyleName = "DefaultStyle";
            Common.Signatrue = "";
            Common.Theme = ThemeStyle.Office2013;
            Common.FileList = new List<string>();

            Blogs = new BlogsInfo();//博客配置信息
            CurrBlogsDocument = new BlogsDocumentInfo();//当前选择的文章的信息(主要用于草稿更新)
        }