在主程序中对控件进行操作的过程 改写到类里面,高手赏光来看看
主程序(form1)中一段 sub
Public Sub cleardata()
txcustomerid.Text = ""
txattribname.Text = ""
txcompanyname.Text = ""
txcontact.Text = ""
txphone.Text = ""
txfax.Text = ""
txaddress.Text = ""
Debug.WriteLine(txcustomerid.Text)
End Sub
接着新建一个类为aa
我要把这段移到这个aa类里 怎么写
txphone这些名称怎么弄?