Beispiel #1
0
        internal void addCustomer_addCustomer()
        {
            if (customerManagerImpl.addCustomerPopup())
            {
                UIComboBox uIComboBox = new UIComboBox();
                uIComboBox.customersForAddSellingInvoice(mSComboBox);

                mSComboBox.SelectedValue = addCustomer.AddedId;
                addCustomer.Hide();
                addCustomer.resetForm();
            }
        }
Beispiel #2
0
        void GoRootForm()
        {
            if (RootForm == "Sell")
            {
                Sell sell = (Sell)Application.OpenForms["Sell"];

                //=> Props
                sell.CustomerToken = CustomerToken;


                //update
                sell.Update();
            }
            //Close ParentForm  of ParentForm
            Forms.PointOfSale.Customers customers = (Forms.PointOfSale.Customers)Application.OpenForms["Customers"];
            customers.Hide();

            //Close ParentForm
            AddCustomer addCustomer = (AddCustomer)Application.OpenForms["AddCustomer"];

            addCustomer.Hide();

            this.Hide();
        }