private void btnEditPaymentMode_Click(object sender, EventArgs e)
 {
     try
     {
         Master.PaymentMode objForm = getPaymentCategory();
         btn             = objForm.btnSave;
         objForm.btnSave = Common.setUpdate(btn);
         objForm.ShowDialog();
         onPageLoad();
     }
     catch (Exception ex)
     {
         Common.showDenger(ex.Message);
     }
 }
 private void btnNewPaymentMode_Click(object sender, EventArgs e)
 {
     Master.PaymentMode objForm = new Master.PaymentMode();
     objForm.ShowDialog();
     onPageLoad();
 }