/// <summary>
        /// existing customer event handle
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ExistingCustomerButton_Click(object sender, EventArgs e)
        {
            FindExistingCustomer existingCustomer = new FindExistingCustomer(derivedAPI);

            existingCustomer.ShowDialog();
            this.Close();
        }
Esempio n. 2
0
        /// <summary>
        /// existing customer button event handle
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ExistingCustomer_Click(object sender, EventArgs e)
        {
            FindExistingCustomer existingCustomer = new FindExistingCustomer(api);

            existingCustomer.ShowDialog();
            if (CurrentCustomer.Length > 1)
            {
                parseCustomerInformation();
            }
            CustomerNameTextbox.Text = CurrentCustomer;
        }
Esempio n. 3
0
        /// <summary>
        /// search Customer button event handle
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void SearchCustomerButton_Click(object sender, EventArgs e)
        {
            OrderIDListbox.Items.Clear();
            CustomerIDListbox.Items.Clear();
            BranchIDListbox.Items.Clear();
            TimestampListbox.Items.Clear();
            StatusListbox.Items.Clear();
            FindExistingCustomer existingCustomer = new FindExistingCustomer(api);

            existingCustomer.ShowDialog();
            getOrders();
            //here is where I can make the order status UPDATE.

            //CustomerID
            // End of Event Handles.
        }