Пример #1
0
        private void backButton_Click(object sender, EventArgs e)
        {
            this.Hide();
            OrderManagement createSale = new OrderManagement(username);

            createSale.Show();
        }
        private void orderManagementButton_Click(object sender, EventArgs e)
        {
            OrderManagement orderManagement = new OrderManagement(username);

            orderManagement.Show();
            this.Hide();
        }
Пример #3
0
        private void incertButton_Click(object sender, EventArgs e)
        {
            CustomerService customerService = new CustomerService();
            int             result          = customerService.AddNewCustomer(customerNameTextBox.Text, phoneNoTextBox.Text);

            this.Hide();
            OrderManagement createSale = new OrderManagement(username);

            createSale.Show();
        }