示例#1
0
 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");
     }
 }
示例#2
0
        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");
            }
        }