假如类message.cs下有一函数test(string aa)
那么在form1下可这样使用:
message obj=new message();
obj.test(textbox1.text.tostring());