Exemple #1
0
 private void CompanyUI_Load(object sender, EventArgs e)
 {
     _model.AddEditColumn(companyGridView);
     _model.AddDeleteColumn(companyGridView);
     companyBindingSource.DataSource = _companyManager.GetAllCompany();
     _model.AddAutoIncrementColumn(companyGridView);
 }
Exemple #2
0
        private void CategoryUI_Load(object sender, EventArgs e)
        {
            _model.AddEditColumn(categoryGridView);
            _model.AddDeleteColumn(categoryGridView);

            categoryBindingSource.DataSource = _manager.GetAllCategory();
            _model.AddAutoIncrementColumn(categoryGridView);
        }