vb.net 简繁转换

前端之家收集整理的这篇文章主要介绍了vb.net 简繁转换前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_404_0@ Dim strSimplifiedChinese,strTraditionalChinese As String

@H_404_0@ strSimplifiedChinese = "我是中国人!"

@H_404_0@ strTraditionalChinese = StrConv(strSimplifiedChinese,VbStrConv.TraditionalChinese) '简转繁
Me.TextBox1.Text = strTraditionalChinese

@H_404_0@
strSimplifiedChinese = StrConv(strTraditionalChinese,VbStrConv.SimplifiedChinese) '繁转简

@H_404_0@ Me.TextBox2.Text = strSimplifiedChinese

猜你在找的VB相关文章