新建From1(窗体),新建Command1(按钮CommandButton),新建Text1(TextBox),代码:
运行结果:
Command1 Text1