Ejemplo n.º 1
0
        private void CheckInForm_Shown(object sender, EventArgs e)
        {
            Int32 checkRoom = rsv.checkRoom();

            if (checkRoom == 0)
            {
                MessageBox.Show("All Rooms Were Booked", "Room Information", MessageBoxButtons.OK, MessageBoxIcon.Error);
                this.Hide();
                ManageReservationForm manresForm = new ManageReservationForm();
                manresForm.ShowDialog();
            }
        }
Ejemplo n.º 2
0
        private void mANAGERESERVATIONToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ManageReservationForm manresForm = new ManageReservationForm();

            manresForm.ShowDialog();
        }