private void CompanyUI_Load(object sender, EventArgs e) { _model.AddEditColumn(companyGridView); _model.AddDeleteColumn(companyGridView); companyBindingSource.DataSource = _companyManager.GetAllCompany(); _model.AddAutoIncrementColumn(companyGridView); }
private void CategoryUI_Load(object sender, EventArgs e) { _model.AddEditColumn(categoryGridView); _model.AddDeleteColumn(categoryGridView); categoryBindingSource.DataSource = _manager.GetAllCategory(); _model.AddAutoIncrementColumn(categoryGridView); }