Пример #1
0
        //Opens a new guest form.
        private void guestListToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGuest FG = new frmGuest();

            FG.tcGuest.SelectedIndex = 1;
            FG.ShowDialog();
        }
Пример #2
0
        //When Guest is clicked it opens the Guest form.
        private void toolbarGuest_Click(object sender, EventArgs e)
        {
            frmGuest fGuest = new frmGuest();

            fGuest.ShowDialog();
        }
Пример #3
0
        //Opens the guest form.
        private void newGuestToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmGuest frmGuest = new frmGuest();

            frmGuest.ShowDialog();
        }