显示从一种形式到另一种形式的价值.
问题描述:
如何显示从Form1到Form2中标签的文本框值.
我也想通过使用static.
还有如果我有多个文本框,如何通过使用类来使用它.
你能举个例子吗?
PLZ HELP ME ......
how can i display the textbox value from form1 to label in form2.
Also i want by using static.
Also how to use it by using class if i m having multiple textbox.
Can u give me an example.
PLZ HELP ME......
答
嘿,
在文本框的属性"窗口上,将属性修改器"更改为公共",因此您可以在其他表单上访问它.
hey,
on the Properties window of the text box change the property Modifier to Public and hence you can access it on another forms.