public static void OpenEditFormAction(ETipoAcreedor providerType, long oid, Form parent)
        {
            switch (providerType)
            {
            case ETipoAcreedor.Acreedor:
            case ETipoAcreedor.Proveedor:
            {
                ProveedorEditForm form = new ProveedorEditForm(oid, providerType, parent);
                form.ShowDialog(parent);
            }
            break;

            case ETipoAcreedor.Naviera:
            {
                NavieraEditForm form = new NavieraEditForm(oid, parent);
                form.ShowDialog(parent);
            }
            break;

            case ETipoAcreedor.Despachante:
            {
                DespachanteEditForm form = new DespachanteEditForm(oid, parent);
                form.ShowDialog(parent);
            }
            break;

            case ETipoAcreedor.TransportistaOrigen:
            case ETipoAcreedor.TransportistaDestino:
            {
                TransporterEditForm form = new TransporterEditForm(oid, providerType, parent);
                form.ShowDialog(parent);
            }
            break;
            }
        }
        protected void EditProveedorAction()
        {
            switch (Entity.ETipoAcreedor)
            {
            case ETipoAcreedor.Acreedor:
            case ETipoAcreedor.Proveedor:
            {
                ProveedorEditForm form = new ProveedorEditForm(Entity, this);
                form.ShowDialog();
            }
            break;

            case ETipoAcreedor.Despachante:
            {
                DespachanteEditForm form = new DespachanteEditForm(Entity, this);
                form.ShowDialog();
            }
            break;

            case ETipoAcreedor.Naviera:
            {
                NavieraEditForm form = new NavieraEditForm(Entity, this);
                form.ShowDialog();
            }
            break;

            case ETipoAcreedor.TransportistaDestino:
            case ETipoAcreedor.TransportistaOrigen:
            {
                TransporterEditForm form = new TransporterEditForm(Entity, this);
                form.ShowDialog();
            }
            break;
            }

            _summary.Refresh(Entity);
            Datos_Resumen.DataSource = _summary;
            Datos_Resumen.ResetBindings(false);
        }