private void addBtn_Click(object sender, EventArgs e) { EmployeeAddingForm addEmployeeForm = new EmployeeAddingForm(mainDataGridView, ctx); addEmployeeForm.Show(); mainDataGridView.DataSource = GetMainDGVBindingSource(); }
public EmployeeAdding(EmployeeEf.KNUDBEntities ctx, EmployeeAddingForm eaf) { this.ctx = ctx; parentForm = eaf; }