Ejemplo n.º 1
0
        public override void OpenEditForm()
        {
            MunicipioEditForm form = new MunicipioEditForm(ActiveOID, this);

            if (form.Entity != null)
            {
                AddForm(form);
                _entity = form.Entity;
            }
        }
Ejemplo n.º 2
0
 public override void OpenEditForm()
 {
     try
     {
         MunicipioEditForm form = new MunicipioEditForm(ActiveOID, this);
         if (form.Entity != null)
         {
             AddForm(form);
             _entity = form.Entity;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString(),
                         moleQule.Face.Resources.Labels.ERROR_TITLE,
                         MessageBoxButtons.OK,
                         MessageBoxIcon.Exclamation);
     }
 }