private void tsTeamCustomer_Click(object sender, EventArgs e) { FormTeamCustomers frmTeamCustomer = new FormTeamCustomers(); if (frmTeamCustomer.ShowDialog() == DialogResult.OK) { ShowRoom(int.Parse(tbcRoomInfo.SelectedTab.Name)); } }
private void tsmTeamOpenRoom_Click(object sender, EventArgs e) { FormTeamCustomers frmTeam = new FormTeamCustomers(); if (frmTeam.ShowDialog() == DialogResult.OK) { ShowRoom(int.Parse(tbcRoomInfo.SelectedTab.Name)); } }