Esempio n. 1
0
        /// <summary>
        /// Takes us to our book managing page
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void manageBooksButton_Click(object sender, EventArgs e)
        {
            form1Var = this;
            this.Hide();
            bookForm bookFormForm = new bookForm();

            bookFormForm.InstanceRef = this;
            bookFormForm.Show();
        }
Esempio n. 2
0
        /// <summary>
        /// Pressing this button takes us to our usual form from project 2
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void placeOrderButton_Click(object sender, EventArgs e)
        {
            form1Var = this;
            this.Hide();
            Main_Menu placeOrderForm = new Main_Menu();

            placeOrderForm.InstanceRef = this;
            placeOrderForm.Show();
        }
Esempio n. 3
0
        /// <summary>
        /// From main menu, upon clicking this button takes us to our familiar form from project 4
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void manageCustomersButton_Click(object sender, EventArgs e)
        {
            form1Var = this;
            this.Hide();
            editCustomer editCustomerForm = new editCustomer();

            editCustomerForm.InstanceRef = this;
            editCustomerForm.Show();
        }