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;

















posted @ 2013-07-26 16:24  永远的菜鸟@me  阅读(1115)  评论(0编辑  收藏  举报