[问题] textbox.Text 共用变量

楼主: abc95007 (别理我)   2018-08-24 15:29:23
请问
textbox1.Text 与 textbox2.Text
是否能共用一个变量
或是这两个值指向同一位置?
例如
string temp ="";
textbox1.Text = temp;
textbox2.Text = temp;
temp = "hello world";
textbox1.Text 与 textbox2.Text 也会等于 "hello world;
感谢~
作者: testPtt (测试)   2018-08-24 17:58:00
textbox.databinding.add("Text",obj,"property");

Links booklink

Contact Us: admin [ a t ] ucptt.com