Exemplo n.º 1
0
        public ClientFormController(string IPAddress)
        {
            this.ServerIPAddress = IPAddress;
            myClient             = new Client(ServerIPAddress);

            myClientForm = new ClientForm(this);
            clientThread = new Thread(myClient.Start);


            clientThread.Start();
            clientThread.Join();
        }
Exemplo n.º 2
0
        public ClientFormController(string IPAddress)
        {
            this.ServerIPAddress = IPAddress;
            myClient = new Client(ServerIPAddress);

            myClientForm = new ClientForm(this);
            clientThread = new Thread(myClient.Start);

            clientThread.Start();
            clientThread.Join();
        }