示例#1
0
        public Reception()
        {
            InitializeComponent();
            ani = new DoubleAnimation(0, 1, new TimeSpan(0, 0, 0, 0, 700));
            CustomersPage = new People(Model.Entities.PersonTypes.Customer);

            SalesPage = new Sales();
        }
示例#2
0
        private void InitalizePages()
        {
            ProductsPage  =  new Products();
             CustomersPage = new People(Model.Entities.PersonTypes.Customer) ;
             SuppliersPage = new People( Model.Entities.PersonTypes.Supplier);
             UsersPage =  new Users();
             ComponentPage =  new Components();

            //Accounts
             Outcome_Page =  new Outcomes();
             Income_Page =  new Income();
             CustomerInstallmentsPage =  new Installments(Model.Entities.PersonTypes.Customer);
             SupplierInstallmentsPage =  new Installments(Model.Entities.PersonTypes.Supplier);
             StockPage = new Stock();

            //Transactions
             SalesPage =  new Sales();
             PurchasesPage= new Purchases(Model.Entities.TransactionTypes.Buy);
             PurchasesBackPage = new Purchases(Model.Entities.TransactionTypes.ReBuy);

             ComponentDamagePage =  new ComponentsDamage();
             ProductsDamagePage = new ProductsDamage();
        }