C#中RichTextBox字体不统一(中英文)


  this.richTextBox1.Font = new System.Drawing.Font("微软雅黑", 12F);// new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  richTextBox1.LanguageOption = System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts;

//属性中添加第二句 搞定

richTextBox1.LanguageOption = System.Windows.Forms.RichTextBoxLanguageOptions.UIFonts;


26162339-a2888d2648824d1b85819aad7c7090f2

posted @ 2018-03-23 21:26  流浪的松竹  阅读(379)  评论(0编辑  收藏  举报