Exemplo n.º 1
0
        public void Listen_btn_Click(object sender, EventArgs e)
        {
            // Deterime which view to control
            _fromMobileView = (FromMobileView)((Button)sender).FindForm();
            _fromMobileView.Disable_Listen();

            // Create a thread to accept from connected clients
            this.listenThread         = new Thread(ListenForClients);
            listenThread.IsBackground = true; // to stop all threads when application is terminated
            this.listenThread.Start();
        }
Exemplo n.º 2
0
        public void syncFromAndroid_Click(object sender, EventArgs e)
        {
            FromMobileView fromMobileView = new FromMobileView();

            fromMobileView.Show();
        }
Exemplo n.º 3
0
 public void syncFromAndroid_Click(object sender, EventArgs e)
 {
     FromMobileView fromMobileView = new FromMobileView();
     fromMobileView.Show();
 }
Exemplo n.º 4
0
        public void Listen_btn_Click(object sender, EventArgs e)
        {
            // Deterime which view to control
            _fromMobileView = (FromMobileView)((Button)sender).FindForm();
            _fromMobileView.Disable_Listen();

            // Create a thread to accept from connected clients
            this.listenThread = new Thread(ListenForClients);
            listenThread.IsBackground = true; // to stop all threads when application is terminated
            this.listenThread.Start();
        }