Beispiel #1
0
        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 });
            }
        }
Beispiel #2
0
 void udpMain_ReceiveInfo(object sender, UDPInfo e)
 {
     threadtool.InvokeChangeObjectProperty(TextBox1, new object[] { "Text", Environment.NewLine + e.MessageInfo });
 }