Exemplo n.º 1
0
        public Client()
        {
            InitializeComponent();
            mysocketManage = ClientSocketManage.getInstance();
            clientSocket   = mysocketManage.getSocket();
            _mysendFactory = new MySendFactory(clientSocket);

            isRunning = true;

            _listenFromServer = new Thread(listenFromServer);
            _listenFromServer.Start();
        }
Exemplo n.º 2
0
        public Client()
        {
            InitializeComponent();
            mysocketManage = ClientSocketManage.getInstance();
            clientSocket = mysocketManage.getSocket();
            _mysendFactory = new MySendFactory(clientSocket);

            isRunning = true;

            _listenFromServer = new Thread(listenFromServer);
            _listenFromServer.Start();
        }
Exemplo n.º 3
0
        public Login()
        {
            InitializeComponent();

            _socketMange = ClientSocketManage.getInstance();
            clientSocket = _socketMange.getSocket();
            _mysendFactory = new MySendFactory(clientSocket);

            tbIpServer.Text = "127.0.0.1";
            tbName.Text = "Name 1";
            tbPassword.Text = "";
            tbPassword.PasswordChar = '*';
        }
Exemplo n.º 4
0
        public Login()
        {
            InitializeComponent();

            _socketMange   = ClientSocketManage.getInstance();
            clientSocket   = _socketMange.getSocket();
            _mysendFactory = new MySendFactory(clientSocket);

            tbIpServer.Text         = "127.0.0.1";
            tbName.Text             = "Name 1";
            tbPassword.Text         = "";
            tbPassword.PasswordChar = '*';
        }