新手求助一道编程题
有一个图片框和文本框,要怎么编写代码,使得文本框每输入一个字符,就使图片框输出一项文本框中的完整内容。高手帮忙解决一下!!谢谢!
Public Class Form1 '在窗体上添加一个PICTRUEBOX,一个TEXTBOX Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged Dim g As Graphics = PictureBox1.CreateGraphics g.Clear(PictureBox1.BackColor) g.DrawString(TextBox1.Text, Me.Font, New SolidBrush(Color.Blue), 0, 0) End Sub End Class