void ActiveSync_IPChange(int IP) { if (this.InvokeRequired) { OpenNETCF.Desktop.Communication.IPAddrHandler del = new OpenNETCF.Desktop.Communication.IPAddrHandler(ActiveSync_IPChange); this.Invoke(del, IP); } else { richTextBox1.AppendText("IP Change " + OpenNETCF.Desktop.Communication.ActiveSync.IntToDottedIP(IP)+"\n"); } }
void ActiveSync_IPChange(int IP) { if (this.InvokeRequired) { OpenNETCF.Desktop.Communication.IPAddrHandler del = new OpenNETCF.Desktop.Communication.IPAddrHandler(ActiveSync_IPChange); this.Invoke(del, IP); } else { terminalRapi.SetDeviceTime(Properties.Settings.Default.TSDDBPAth); richTextBox1.AppendText("IP Change " + OpenNETCF.Desktop.Communication.ActiveSync.IntToDottedIP(IP)+"\n"); } }