private void ts_name_new_Click(object sender, EventArgs e) { dialog_form nnf = new dialog_form("NewName"); if (nnf.ShowDialog() == DialogResult.OK) { SendData("nc", "|" + nnf.textbox.Text); } }
private void ts_enter_chanel_ButtonClick(object sender, EventArgs e) { dialog_form df = new dialog_form("NewChanel"); if (df.ShowDialog() == DialogResult.OK) { CreateChanel(df.textbox.Text); } }