示例#1
0
        public MainWindow(String ip, String chatroom, String username)
        {
            InitializeComponent();

            connection   = new ClientGuiConnection(this, ip, chatroom, username);
            clientThread = new Thread(connection.run);
            clientThread.Start();
        }
示例#2
0
 public SendMessageClass(ClientGuiConnection client, String message)
 {
     this.message = message;
     this.client  = client;
 }