public MainWindow(String ip, String chatroom, String username) { InitializeComponent(); connection = new ClientGuiConnection(this, ip, chatroom, username); clientThread = new Thread(connection.run); clientThread.Start(); }
public SendMessageClass(ClientGuiConnection client, String message) { this.message = message; this.client = client; }