Exemplo n.º 1
0
        public void ShowBookTableForm()
        {
            Form formExits = Application.OpenForms["BookTable"];

            if (formExits != null)
            {
                formExits.Close();
            }
            BookTable tempBookTable = new BookTable(this.tempHotelTableModel);

            tempBookTable.bookTable += new EventHandler(bookTheConfiromTable);
            tempBookTable.Show(this);
        }
Exemplo n.º 2
0
        public void bookTableButton_Click(object sender, EventArgs e)
        {
            Form formExits = Application.OpenForms["BookTable"];

            if (formExits != null)
            {
                formExits.Close();
            }
            BookTable tempBookTable = new BookTable(this.tempHotelTableModel);

            tempBookTable.bookTable += new EventHandler(bookTheConfiromTable);
            tempBookTable.Show(this);
        }