public override void Nuevo() { try { Cursor.Current = Cursors.WaitCursor; base.Nuevo(); using (var frm = new frmRecursos(Recursos.NewRecursos())) if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { Buscar(); } } catch (DataPortalException ex) { XtraMessageBox.Show(ex.BusinessException.Message, "Nuevo", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } catch (Exception ex) { XtraMessageBox.Show(ex.Message, "Nuevo", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } finally { Cursor.Current = Cursors.Default; } }