Visual Basic代码(Wingding程序) [英] Code for Visual basic (Wingding program)

查看:76
本文介绍了Visual Basic代码(Wingding程序)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在一个文本框中输入常规字符,点击"翻译"按钮按钮,并将这些常规字符翻译成新的texbox作为上弦。 

I want to enter regular characters on one textbox, hit a "translate" button and have those regular characters be translated into a new texbox as winding. 

http://prntscr.com/lgjiiu喜欢这个

http://prntscr.com/lgjiiu Like this

推荐答案

为了使示例在表单上放置两个文本框(多行 - true)并复制代码。输入顶部框,翻译显示在底部。

To make the example put two textboxes on a form (multiline - true) and copy the code. Type in the top box and the translation is shown in the bottom.

Public Class Form6
    Private Sub Form6_Load(sender As Object, e As EventArgs) Handles MyBase.Load

        TextBox1.Font = New Font("arial", 12, FontStyle.Bold)

        TextBox2.Font = New Font("Wingdings", 12, FontStyle.Bold)

    End Sub

    Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles TextBox1.TextChanged

        TextBox2.Text = TextBox1.Text

    End Sub
End Class


这篇关于Visual Basic代码(Wingding程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆