private void btnNewUOM_Click(object sender, EventArgs e) { try { Master.UOMMaster objForm = new Master.UOMMaster(); objForm.ShowDialog(); onPageLoad(); } catch (Exception ex) { Common.showDenger(ex.Message); } }
private void btnEditUOM_Click(object sender, EventArgs e) { try { Master.UOMMaster objForm = getUOM(); btn = objForm.btnSave; objForm.btnSave = Common.setUpdate(btn); objForm.ShowDialog(); onPageLoad(); } catch (Exception ex) { Common.showDenger(ex.Message); } }