//Opens a new guest form. private void guestListToolStripMenuItem_Click(object sender, EventArgs e) { frmGuest FG = new frmGuest(); FG.tcGuest.SelectedIndex = 1; FG.ShowDialog(); }
//When Guest is clicked it opens the Guest form. private void toolbarGuest_Click(object sender, EventArgs e) { frmGuest fGuest = new frmGuest(); fGuest.ShowDialog(); }
//Opens the guest form. private void newGuestToolStripMenuItem_Click(object sender, EventArgs e) { frmGuest frmGuest = new frmGuest(); frmGuest.ShowDialog(); }