private void btnEditEmployee_Click(object sender, EventArgs e) { frmAddEditEmployee frmAddEditEmployee = new frmAddEditEmployee(int.Parse(dgvEmployee.CurrentRow.Cells["ID"].Value.ToString())); frmAddEditEmployee.ShowDialog(); }
private void btnAddEmployee_Click(object sender, EventArgs e) { frmAddEditEmployee frmAddEditEmployee = new frmAddEditEmployee(); frmAddEditEmployee.ShowDialog(); }