private void Nuevo() { this.Cursor = Cursors.WaitCursor; FrmAbmPersonas form = new FrmAbmPersonas(); form.OnRowChanged += new mz.erp.ui.forms.FrmAMB.RowChanged(EventoRefrescar); form.ShowForm(null, "Persona"); this.Cursor = Cursors.Default; }
private void Editar() { if (this.gridEx.SelectedItems.Count > 0) { this.Cursor = Cursors.WaitCursor; FrmAbmPersonas form = new FrmAbmPersonas(); form.OnRowChanged += new mz.erp.ui.forms.FrmAMB.RowChanged(EventoRefrescar); form.ShowForm(_uiController.IdPersonaSeleccionada, "Persona"); this.Cursor = Cursors.Default; } }