private void miSickLeaveRpt_Click(object sender, EventArgs e) { try { frmRptSickLeave rsl = new frmRptSickLeave(); rsl.ShowDialog(this); } catch (Exception ex) { CommonLogger.Info(ex.ToString()); } }
private void btnGenerateBill_Click(object sender, EventArgs e) { try { frmRptSickLeave rsl = new frmRptSickLeave(Int32.Parse(txtAppID.Text.Trim()), Int32.Parse(txtPatientID.Text.Trim())); rsl.ShowDialog(this); } catch (Exception ex) { CommonLogger.Info(ex.ToString()); } }