コード例 #1
0
ファイル: Form1.cs プロジェクト: ramilexe/tsdfamilia
 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");
     }
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: ramilexe/tsdfamilia
        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");
            }
        }