private void btnEdit_Click(object sender, System.EventArgs e) { frmPayrollItem frm = new frmPayrollItem(); frm.ShowDialog(this); }