//Opens a new room form. private void roomsToolStripMenuItem_Click(object sender, EventArgs e) { frmRoom FR = new frmRoom(userName); FR.tcRoom.SelectedIndex = 1; FR.ShowDialog(); }
//Opens the Room form. private void toolbarRoom_Click(object sender, EventArgs e) { frmRoom fRoom = new frmRoom(userName); fRoom.ShowDialog(); }