Hi everybody today i have developed an application which uses the concepts of classes and the code is like this to explain you simply
i have two forms form1,form2,and a class class1
in class i wrote this
now here in this code this the value of textbox1 in form 1 is not coming in form2 textbox some one plzz help me
i have two forms form1,form2,and a class class1
in class i wrote this
Code:
Public Class Class1 Public str As String = "" End Class in form1 class one i wrote this code dim cls as new class1 in button click cls.str=textbox1.text in another button click dim frm as new form2 frm.show in form 2 class dim cls1 as new class1 on form load textbox1.text=cls1.str
Comment