c#richTextBox中韩文输入不正确,字体分开

踏在梦上 2015-05-05 06:47:35

在更改Text属性事件中,加上string str = richTextBox1.Text语句,打韩语就会出错。打第一个正确,第二个就分开了。求帮助!
源码:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;


namespace RichTextBox
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void richTextBox1_TextChanged(object sender, EventArgs e)
{
string str = richTextBox1.Text;
}
}
}
...全文
110 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
失落的神庙 2015-05-06
  • 打赏
  • 举报
回复
http://bbs.csdn.net/topics/320202041 看看这个对你有用没

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧