void udpMain_ReceiveInfo(object sender, UDPInfo e) { if (e.InfoType == UDPInfo.UDPInfoType.udpm_SendedConfirm) { return; } if (threadtool != null) { threadtool.InvokeChangeObjectProperty(txtComm, new object[] { "Text", txtComm.Text + e.Title + ":" + e.MessageInfo + Environment.NewLine }); } }
void udpMain_ReceiveInfo(object sender, UDPInfo e) { threadtool.InvokeChangeObjectProperty(TextBox1, new object[] { "Text", Environment.NewLine + e.MessageInfo }); }