Exemple #1
0
 //Modify customer
 public void ModifyAction()
 {
     Console.WriteLine("Tryin To Modify.......");
     addCustomer       = false;
     addModifyCustomer = new Lab5_CustomerMaintenenceWPF.Views.AddModifyPage();
     AddModifyWrap.LoadAddModify();
     addModifyCustomer.Show();
     Console.WriteLine("YOU CAN'T ADD ANTHING!");
 }
Exemple #2
0
        //Add customer
        public void AddAction()
        {
            addCustomer       = true;
            addModifyCustomer = new Lab5_CustomerMaintenenceWPF.Views.AddModifyPage();
            AddModifyWrap.LoadAddModify();
            addModifyCustomer.Show();

            // selectedWrap.NameNotify = "JORDAN";
            Console.WriteLine("YOU CAN'T ADD ANTHING!");

            //addCustomer = false;
        }