.NET CF Windows 窗体可以在标题上显示阿拉伯 Unicode 文本,但不能在标签上显示阿拉伯语 Unicode 文本?
在我的Win CE 5.0设备上安装Arabic.CAB(或Arabizer)后,我可以通过以下方式将静态阿拉伯字符串设置为我的.NET CF的Windows窗体标题:
this.Text = "سلام";
它工作正常,我可以正确地在窗体标题栏上看到阿拉伯文本.但是这些代码行不起作用,我看到的只是正方形! :
label1.Text = "سلام";
textBox1.Text = "سلام";
MessageBox.Show("سلام");
表格的标题和内容有什么区别? 我错过了什么吗?
After installing Arabic.CAB (or Arabizer) on my Win CE 5.0 device , i can set a static Arabic string as my .NET CF's windows form's title by :
this.Text = "سلام";
and it works fine and i can see the Arabic text on my form's title bar correctly.but these lines of code do not work and all i see is squares! :
label1.Text = "سلام";
textBox1.Text = "سلام";
MessageBox.Show("سلام");
what's the difference between Form's title and content?
am i missing something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您确定Windows窗体的字体与其子控件的字体不同吗?
Are you sure the font of the windows form is different with the font of its sub controls.