示例#1
0
        private void addBtn_Click(object sender, EventArgs e)
        {
            EmployeeAddingForm addEmployeeForm = new EmployeeAddingForm(mainDataGridView, ctx);

            addEmployeeForm.Show();
            mainDataGridView.DataSource = GetMainDGVBindingSource();
        }
示例#2
0
 public EmployeeAdding(EmployeeEf.KNUDBEntities ctx, EmployeeAddingForm eaf)
 {
     this.ctx   = ctx;
     parentForm = eaf;
 }