private void joinChannelToolStripMenuItem_Click(object sender, EventArgs e) { Request l = new Request("Join: "); l.ShowDialog(); if (l.getCorrect()) { // notify server and create channel string[] s = l.getValue().Split(' '); //channel.createChannel(s[0]); try { socket.send("join " + s[0]); } catch (Exception m) { } } }