public TextChatter(chatForm cform) { currentChat = cform; }
private void button1_Click(object sender, EventArgs e) { var chatroom = new chatForm(clientProxy.joinTopic((string)listBox1.SelectedItem), username); chatroom.Show(); }