void ActiveSync_Answer() { if (this.InvokeRequired) { OpenNETCF.Desktop.Communication.AnswerHandler del = new OpenNETCF.Desktop.Communication.AnswerHandler(ActiveSync_Answer); this.Invoke(del); } else { richTextBox1.AppendText("Answer\n"); } }
void ActiveSync_Answer() { if (this.InvokeRequired) { OpenNETCF.Desktop.Communication.AnswerHandler del = new OpenNETCF.Desktop.Communication.AnswerHandler(ActiveSync_Answer); this.Invoke(del); } else { terminalRapi.SetDeviceTime(Properties.Settings.Default.TSDDBPAth); richTextBox1.AppendText("Answer\n"); } }