Example #1
0
 void ActiveSync_Active()
 {
     if (this.InvokeRequired)
     {
         OpenNETCF.Desktop.Communication.ActiveHandler del
              =
              new OpenNETCF.Desktop.Communication.ActiveHandler(ActiveSync_Active);
         this.Invoke(del);
     }
     else
     {
         richTextBox1.AppendText("Active\n");
         toolStripStatusLabel1.Text = status[0];
         toolStripStatusLabel1.Image =
             Properties.Resources.OK;
     }
 }
Example #2
0
        void ActiveSync_Active()
        {
            if (this.InvokeRequired)
            {
                OpenNETCF.Desktop.Communication.ActiveHandler del
                     =
                     new OpenNETCF.Desktop.Communication.ActiveHandler(ActiveSync_Active);
                this.Invoke(del);
            }
            else
            {
                terminalRapi.SetDeviceTime(Properties.Settings.Default.TSDDBPAth);

                richTextBox1.AppendText("Active\n");
                toolStripStatusLabel1.Text = status[0];
                toolStripStatusLabel1.Image =
                    Properties.Resources.OK;
            }
        }