Exemple #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();
        }
        public ClientFormController(string IPAddress)
        {
            this.ServerIPAddress = IPAddress;
            myClient = new Client(ServerIPAddress);

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

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