0
我有我收到了一些數據有點問題,並顯示在文本框來調用它,我用替代方法
if (textBox1.InvokeRequired)
{
// this is worker thread
updatetextBoxDelegate del = new updatetextBoxDelegate(updatetextBox);
textBox1.Invoke(del, new object[] { data });
}
我的數據是一樣 名稱:SAM 年齡:10
現在我想要分割並保存在文本框sperate在 陣列或顯示這些值我使用替換方法等
string str = textBox1.text;
str.Replace("name","");
等,但問題是替代方法是不工作就可以了它的劑量不替代任何事情 告訴我,我做錯了
O是是感謝我知道了:) –