示例#1
0
        public override void OpenEditForm()
        {
            PayrollBatchEditForm form = new PayrollBatchEditForm(ActiveOID, this);

            if (form.Entity != null)
            {
                AddForm(form);
                _entity = form.Entity;
            }
        }
        public override void OpenEditForm()
        {
            PayrollBatchEditForm form = new PayrollBatchEditForm(ActiveItem.OidRemesa, ActiveOID);

            if (form.Entity != null)
            {
                AddForm(form);
                _entity = null;
                ExecuteAction(molAction.Refresh);
            }
        }
示例#3
0
        protected virtual void EditPendienteAction()
        {
            if (Pendientes_DGW.CurrentRow == null)
            {
                return;
            }

            NominaInfo nomina = Pendientes_DGW.CurrentRow.DataBoundItem as NominaInfo;

            PayrollBatchEditForm form = new PayrollBatchEditForm(nomina.OidRemesa, nomina.Oid, this);

            form.ShowDialog(this);

            UpdatePendientes();
        }