예제 #1
0
 private void buttonConnect_Click(object sender, EventArgs e)
 {
     // mCmd.excuteCmdExcute("screen");
     buttonConnect.Visible = false;
     screenCapThread();
     Thread.Sleep(100);
     mClient.connect();
     mClient.setParam(iDiv);
     usbWorkThread();
     feedServerThread();
     bOpen = true;
 }
예제 #2
0
        public void connect()
        {
            // mCmd.excuteCmdExcute("screen");
            if (bOpen == true)
            {
                return;
            }

            screenCapThread();
            Thread.Sleep(100);
            mClient.connect();
            mClient.setParam(iDiv);
            usbWorkThread();
            feedServerThread();
            bOpen = true;
        }