如何在自定义子类里操作窗体啊??
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Me.RichTextBox1.Text = ""
Dim dd As New test1
dd.ss = 797809
dd.test2()
End Sub
Public Class test1
Public ss As Integer
Public Sub test2()
Dim frm As Form1
frm = New Form1
frm.RichTextBox1.Text = ss
End Sub
End Class
RichTextBox1.Text并没有改变!怎么回事啊,怎么做,谢谢!!!