Exemple #1
0
        private void startUpInitializer()
        {
            ProductDb db = new ProductDb();

            this.ProductGridList      = new ObservableCollection <Product>(db.GetProductList());
            this.ArrProductTypes      = new string[] { "MORNING", "EVENING", "SPECIAL" };
            this.ProductGridListIndex = -1;
            this.ArrProductTypesIndex = -1;
            this.cmdType = new commandType();

            this.SaveProductCommand = new RelayCommand(this.saveProductClicked, this.canSaveProductClicked);
        }