Exemplo n.º 1
0
 private void FillComboBoxWithUsers()
 {
     this.usersComboBoxInUserToRole = new PopulateWithUsers(this, this.allUsersInUserToRole_comboBox);
     this.usersComboBoxInUserToRole.StartPopulatingComboBox();
     this.usersComboBoxInDeletUser = new PopulateWithUsers(this, this.allUsersInDeleteUser_comboBox);
     this.usersComboBoxInDeletUser.StartPopulatingComboBox();
 }
Exemplo n.º 2
0
 private void DisplayUsers(Display firstOrLastPage)
 {
     this.usersDataGridNavigation = new PopulateWithUsers(this, this.usersDataTable,
                                                          this.dataGridNavigation_Users,
                                                          firstOrLastPage,
                                                          this.UsersLoadingCircle);
     this.usersDataGridNavigation.StartPopulatingDataGridNavigation();
 }
 private void DisplayFormsRoles(Display firstOrLastPage)
 {
     this.formsRolesDataGridNavigation = new PopulateWithFormsRoles(this, this.formsRolesDataTable,
                                                                    this.dataGridNavigation_FormsRoles,
                                                                    firstOrLastPage,
                                                                    this.formsRolesLoadingCircle);
     this.formsRolesDataGridNavigation.StartPopulatingDataGridNavigation();
 }
 private void DisplayProducts(Display firstOrLastPage)
 {
     this.productsDataGridNav = new PopulateWithProducts(this, this.dataTableProducts,
                                                         this.dataGridNavigation_EditProducts,
                                                         firstOrLastPage,
                                                         this.ProductsLoadingCircle,
                                                         this.productsCRUD);
     this.productsDataGridNav.StartPopulatingDataGridNavigation();
 }
 private void DisplayVendors(Display firstOrLastPage)
 {
     this.vendors = new PopulateWithVendors(this, this.dataTableVendors,
                                            this.dataGridnavigation_AddVendors,
                                            firstOrLastPage,
                                            this.vendorsLoadingCircle,
                                            this.vendorsCRUD);
     this.vendors.StartPopulatingDataGridNavigation();
 }
Exemplo n.º 6
0
        public UsersAccountsCenter()
        {
            InitializeComponent();

            this.usersDataGridNavigation = new PopulateWithUsers(this, this.usersDataTable,
                                                                 this.dataGridNavigation_Users,
                                                                 Display.FirstPage,
                                                                 this.UsersLoadingCircle);
        }
 private void DisplayCategories(Display firstOrLastPage)
 {
     this.categories = new PopulateWithCategories(this, this.dataTableCategories,
                                                  this.dataGridNavigation_EditCategories,
                                                  firstOrLastPage,
                                                  this.CategoriesLoadingCircle,
                                                  this.categoriesCRUD);
     this.categories.StartPopulatingDataGridNavigation();
 }
 private void DisplayAndFillFormsRolesSync(Display firstOrLastPage)
 {
     this.formsRolesDisplayAndFillSync = new PopulateWithFormsRoles(this, this.formsRolesDataTable,
                                                                    this.dataGridNavigation_FormsRoles,
                                                                    firstOrLastPage,
                                                                    this.formsRolesLoadingCircle,
                                                                    this.formsRolesCollections_comboBox);
     this.formsRolesDisplayAndFillSync.StartPopulatingWithSync();
 }
        public EditDeleteProducts()
        {
            InitializeComponent();

            editDeleteProductValidation = new Validation();
            AddProductsValidationDetails();

            this.productsDataGridNav = new PopulateWithProducts(this, this.dataTableProducts,
                                                                this.dataGridNavigation_EditProducts,
                                                                Display.FirstPage,
                                                                this.ProductsLoadingCircle);
        }
        private void FillAllComboBoxesWithDataBaseValues()
        {
            this.vendorsComboBox    = new PopulateWithVendors(this, Vendor_comboBox, productsCRUD);
            this.categoriesComboBox = new PopulateWithCategories(this, Categories_comboBox, productsCRUD);
            this.storesComboBox     = new PopulateWithStores(this, Stores_comboBox, productsCRUD);
            this.townsComboBox      = new PopulateWithTowns(this, Towns_comboBox, productsCRUD);

            this.vendorsComboBox.StartPopulatingComboBox();
            this.categoriesComboBox.StartPopulatingComboBox();
            this.storesComboBox.StartPopulatingComboBox();
            this.townsComboBox.StartPopulatingComboBox();
        }
        public AddVendors()
        {
            InitializeComponent();

            this.addVendorsValidation = new Validation();
            AddVendorsValidationDetails();

            this.vendors = new PopulateWithVendors(this, this.dataTableVendors,
                                                   this.dataGridnavigation_AddVendors,
                                                   Display.FirstPage,
                                                   this.vendorsLoadingCircle);
        }
        public EditDeleteVendors()
        {
            InitializeComponent();

            this.editDeleteVendorsVaslidation = new Validation();
            EditDeleteVendorsValidationDetails();

            this.vendors = new PopulateWithVendors(this, this.dataTableVendors,
                                                   this.dataGridNavigation_EditVendors,
                                                   Display.FirstPage,
                                                   this.vendorsLoadingCircle);
        }
        public EditDeleteCategory()
        {
            InitializeComponent();

            this.editDeleteCategoryVaslidation = new Validation();
            EditDeleteCategoryValidationDetails();

            this.categories = new PopulateWithCategories(this, this.dataTableCategories,
                                                         this.dataGridNavigation_EditCategories,
                                                         Display.FirstPage,
                                                         this.CategoriesLoadingCircle);
        }
Exemplo n.º 14
0
        public AddCategory()
        {
            InitializeComponent();

            this.addCategoryValidation = new Validation();
            AddCategoriesValidationDetails();

            this.categories = new PopulateWithCategories(this, this.dataTableCategories,
                                                         this.dataGridNavigation_AddCategory,
                                                         Display.FirstPage,
                                                         this.CategoriesLoadingCircle);
        }