→ testPtt: textbox.databinding.add("Text",obj,"property"); 08/24 17:58
請問
textbox1.Text 與 textbox2.Text
是否能共用一個變數
或是這兩個值指向同一位置?
例如
string temp ="";
textbox1.Text = temp;
textbox2.Text = temp;
temp = "hello world";
textbox1.Text 與 textbox2.Text 也會等於 "hello world;
感謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.73.60.122
※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1535095766.A.ECC.html