private void btnNuevo_Click(object sender, EventArgs e) { try { var frmBonoMant = FrmAsignarBonoMant.Instance(); frmBonoMant.MdiParent = this.MdiParent; frmBonoMant.Show(); frmBonoMant.frmList = this; } catch (Exception ex) { Util.ErrorMessage(ex.Message); } }
private void Editar(BE.UI.BonoEmpleado uiBonoEmpleado) { try { var frmBonoMant = FrmAsignarBonoMant.Instance(); frmBonoMant.MdiParent = this.MdiParent; frmBonoMant.Show(); frmBonoMant.frmList = this; frmBonoMant.Cargar(uiBonoEmpleado); } catch (Exception ex) { throw ex; } }