expedientes formularios general gestiondocumental gestion tasas y hermes

master
Gerardo 2023-08-02 12:10:00 +02:00
parent fb4c8b5bfb
commit 54ff6326bd
898 changed files with 445254 additions and 0 deletions

View File

@ -0,0 +1,28 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Exferia_Expedientes", "Exferia_Expedientes\Exferia_Expedientes.csproj", "{24E04E49-AA03-48FF-AA46-883DD4EE48E8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test", "Test\Test.csproj", "{23A226E4-5BE7-49B8-8CE5-6D18EFD75A73}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{24E04E49-AA03-48FF-AA46-883DD4EE48E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{24E04E49-AA03-48FF-AA46-883DD4EE48E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{24E04E49-AA03-48FF-AA46-883DD4EE48E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{24E04E49-AA03-48FF-AA46-883DD4EE48E8}.Release|Any CPU.Build.0 = Release|Any CPU
{23A226E4-5BE7-49B8-8CE5-6D18EFD75A73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{23A226E4-5BE7-49B8-8CE5-6D18EFD75A73}.Debug|Any CPU.Build.0 = Debug|Any CPU
{23A226E4-5BE7-49B8-8CE5-6D18EFD75A73}.Release|Any CPU.ActiveCfg = Release|Any CPU
{23A226E4-5BE7-49B8-8CE5-6D18EFD75A73}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,87 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Actores_Listado_Modelo : EPD_Actores
{
public INTERNO_EPD_Actores_Listado_Modelo()
{ }
public bool Seleccionar { get; set; }
public long codigo_Long
{
get
{
long lng_Codigo = 0;
if (Funciones.IsNumeric(codigo))
{
lng_Codigo = long.Parse(codigo);
}
return lng_Codigo;
}
}
#region Empresa
public string Empresa_Codigo { get; set; }
public string Empresa_Descripcion { get; set; }
public DateTime? Empresa_FechaBorrado { get; set; }
public string Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Empresa_Codigo != null && Empresa_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empresa_Codigo + ") ";
}
//Descripcion
if (Empresa_Descripcion != null && Empresa_Descripcion.Trim().Length > 0)
{
str_Aux += Empresa_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Delegacion
public string Delegacion_Codigo { get; set; }
public string Delegacion_Descripcion { get; set; }
public DateTime? Delegacion_FechaBorrado { get; set; }
public string Delegacion
{
get
{
string str_Aux = "";
//Codigo
if (Delegacion_Codigo != null && Delegacion_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Delegacion_Codigo + ") ";
}
//Descripcion
if (Delegacion_Descripcion != null && Delegacion_Descripcion.Trim().Length > 0)
{
str_Aux += Delegacion_Descripcion;
}
return str_Aux;
}
}
#endregion
}
}

View File

@ -0,0 +1,21 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Actores_Modelo : EPD_Actores
{
public INTERNO_EPD_Actores_Modelo()
{ }
public List<INTERNO_EPD_Expedientes_Listado_Modelo> Expedientes { get; set; }
public List<INTERNO_EPD_Citaciones_Listado_Modelo> Citaciones { get; set; }
public List<INTERNO_EPD_Procedimientos_Listado_Modelo> Procedimientos { get; set; }
}
}

View File

@ -0,0 +1,85 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Asesores_Listado_Modelo : EPD_Asesores
{
public INTERNO_EPD_Asesores_Listado_Modelo()
{ }
public long codigo_Long
{
get
{
long lng_Codigo = 0;
if (Funciones.IsNumeric(codigo))
{
lng_Codigo = long.Parse(codigo);
}
return lng_Codigo;
}
}
#region Empresa
public string Empresa_Codigo { get; set; }
public string Empresa_Descripcion { get; set; }
public DateTime? Empresa_FechaBorrado { get; set; }
public string Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Empresa_Codigo != null && Empresa_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empresa_Codigo + ") ";
}
//Descripcion
if (Empresa_Descripcion != null && Empresa_Descripcion.Trim().Length > 0)
{
str_Aux += Empresa_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Empleado
public string Empleado_Codigo { get; set; }
public string Empleado_Descripcion { get; set; }
public DateTime? Empleado_FechaBorrado { get; set; }
public string Empleado
{
get
{
string str_Aux = "";
//Codigo
if (Empleado_Codigo != null && Empleado_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empleado_Codigo + ") ";
}
//Descripcion
if (Empleado_Descripcion != null && Empleado_Descripcion.Trim().Length > 0)
{
str_Aux += Empleado_Descripcion;
}
return str_Aux;
}
}
#endregion
}
}

View File

@ -0,0 +1,198 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Citaciones_Listado_Modelo : EPD_Citaciones
{
public INTERNO_EPD_Citaciones_Listado_Modelo()
{ }
public long codigo_Long
{
get
{
long lng_Codigo = 0;
if (Funciones.IsNumeric(codigo))
{
lng_Codigo = long.Parse(codigo);
}
return lng_Codigo;
}
}
#region Empresa
public string Empresa_Codigo { get; set; }
public string Empresa_Descripcion { get; set; }
public DateTime? Empresa_FechaBorrado { get; set; }
public string Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Empresa_Codigo != null && Empresa_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empresa_Codigo + ") ";
}
//Descripcion
if (Empresa_Descripcion != null && Empresa_Descripcion.Trim().Length > 0)
{
str_Aux += Empresa_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Asesor
public string Asesor_Codigo { get; set; }
public string Asesor_Descripcion { get; set; }
public DateTime? Asesor_FechaBorrado { get; set; }
public string Asesor
{
get
{
string str_Aux = "";
//Codigo
if (Asesor_Codigo != null && Asesor_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Asesor_Codigo + ") ";
}
//Descripcion
if (Asesor_Descripcion != null && Asesor_Descripcion.Trim().Length > 0)
{
str_Aux += Asesor_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Procedimiento
public string Procedimiento_Numero { get; set; }
#endregion
#region Fecha/Hora
public DateTime Fecha
{
get
{
return fechaHora.Date;
}
}
public TimeSpan Hora
{
get
{
return new TimeSpan(fechaHora.Hour, fechaHora.Minute, 0);
}
}
#endregion
#region Expediente
public string Expediente_Codigo { get; set; }
#endregion
#region Juzgado
public long Juzgado_Id { get; set; }
public string Juzgado_Codigo { get; set; }
public string Juzgado_Descripcion { get; set; }
public DateTime? Juzgado_FechaBorrado { get; set; }
public string Juzgado
{
get
{
string str_Aux = "";
//Codigo
if (Juzgado_Codigo != null && Juzgado_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Juzgado_Codigo + ") ";
}
//Descripcion
if (Juzgado_Descripcion != null && Juzgado_Descripcion.Trim().Length > 0)
{
str_Aux += Juzgado_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Materia
public long Materia_Id { get; set; }
public string Materia_Codigo { get; set; }
public string Materia_Descripcion { get; set; }
public DateTime? Materia_FechaBorrado { get; set; }
public string Materia
{
get
{
string str_Aux = "";
//Codigo
if (Materia_Codigo != null && Materia_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Materia_Codigo + ") ";
}
//Descripcion
if (Materia_Descripcion != null && Materia_Descripcion.Trim().Length > 0)
{
str_Aux += Materia_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Demandado
public long Demandado_Id { get; set; }
public string Demandado_Codigo { get; set; }
public string Demandado_Descripcion { get; set; }
public DateTime? Demandado_FechaBorrado { get; set; }
public string Demandado
{
get
{
string str_Aux = "";
//Codigo
if (Demandado_Codigo != null && Demandado_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Demandado_Codigo + ") ";
}
//Descripcion
if (Demandado_Descripcion != null && Demandado_Descripcion.Trim().Length > 0)
{
str_Aux += Demandado_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Actores
public string Actores { get; set; }
#endregion
}
}

View File

@ -0,0 +1,31 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Demandados_Listado_Modelo : EPD_Demandados
{
public INTERNO_EPD_Demandados_Listado_Modelo()
{ }
public long codigo_Long
{
get
{
long lng_Codigo = 0;
if (Funciones.IsNumeric(codigo))
{
lng_Codigo = long.Parse(codigo);
}
return lng_Codigo;
}
}
}
}

View File

@ -0,0 +1,23 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Demandados_Modelo : EPD_Demandados
{
public INTERNO_EPD_Demandados_Modelo()
{ }
public List<INTERNO_EPD_Expedientes_Listado_Modelo> Expedientes { get; set; }
public List<INTERNO_EPD_Citaciones_Listado_Modelo> Citaciones { get; set; }
public List<INTERNO_EPD_Procedimientos_Listado_Modelo> Procedimientos { get; set; }
}
}

View File

@ -0,0 +1,132 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using Exferia_Expedientes.General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Expedientes_Listado_Modelo : EPD_Expedientes
{
public INTERNO_EPD_Expedientes_Listado_Modelo()
{ }
public long codigo_Long
{
get
{
long lng_Codigo = 0;
if (Funciones.IsNumeric(codigo))
{
lng_Codigo = long.Parse(codigo);
}
return lng_Codigo;
}
}
#region Asesor
public string Asesor_Codigo { get; set; }
public string Asesor_Descripcion { get; set; }
public DateTime? Asesor_FechaBorrado { get; set; }
public string Asesor
{
get
{
string str_Aux = "";
//Codigo
if (Asesor_Codigo != null && Asesor_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Asesor_Codigo + ") ";
}
//Descripcion
if (Asesor_Descripcion != null && Asesor_Descripcion.Trim().Length > 0)
{
str_Aux += Asesor_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Demandado
public string Demandado_Codigo { get; set; }
public string Demandado_Descripcion { get; set; }
public DateTime? Demandado_FechaBorrado { get; set; }
public string Demandado
{
get
{
string str_Aux = "";
//Codigo
if (Demandado_Codigo != null && Demandado_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Demandado_Codigo + ") ";
}
//Descripcion
if (Demandado_Descripcion != null && Demandado_Descripcion.Trim().Length > 0)
{
str_Aux += Demandado_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Empresa
public string Empresa_Codigo { get; set; }
public string Empresa_Descripcion { get; set; }
public DateTime? Empresa_FechaBorrado { get; set; }
public string Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Empresa_Codigo != null && Empresa_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empresa_Codigo + ") ";
}
//Descripcion
if (Empresa_Descripcion != null && Empresa_Descripcion.Trim().Length > 0)
{
str_Aux += Empresa_Descripcion;
}
return str_Aux;
}
}
#endregion
public string DemandanteDemandado_Texto
{
get
{
string str_ValorDevuelto = Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion;
if (demandanteDemandado.Equals(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Codigo))
{
str_ValorDevuelto = Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion;
}
return str_ValorDevuelto;
}
}
public string Actores { get; set; }
}
}

View File

@ -0,0 +1,22 @@
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Expedientes_Modelo : EPD_Expedientes
{
public INTERNO_EPD_Expedientes_Modelo()
{ }
public List<long> Actores { get; set; }
public List<INTERNO_EPD_Procedimientos_Listado_Modelo> Procedimientos { get; set; }
}
}

View File

@ -0,0 +1,253 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Juzgados_Listado_Modelo : EPD_Juzgados
{
public INTERNO_EPD_Juzgados_Listado_Modelo()
{ }
public long codigo_Long
{
get
{
long lng_Codigo = 0;
if (Funciones.IsNumeric(codigo))
{
lng_Codigo = long.Parse(codigo);
}
return lng_Codigo;
}
}
#region Empresa
public string Empresa_Codigo { get; set; }
public string Empresa_Descripcion { get; set; }
public DateTime? Empresa_FechaBorrado { get; set; }
public string Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Empresa_Codigo != null && Empresa_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empresa_Codigo + ") ";
}
//Descripcion
if (Empresa_Descripcion != null && Empresa_Descripcion.Trim().Length > 0)
{
str_Aux += Empresa_Descripcion;
}
return str_Aux;
}
}
#endregion
#region DIRECCION ENVIO
public GEN_Direcciones DireccionEnvio { get; set; }
public string DireccionEnvio_NombreVia
{
get
{
string str_Aux = "";
if (DireccionEnvio != null)
{
str_Aux = DireccionEnvio.nombreVia;
}
return str_Aux;
}
}
public string DireccionEnvio_CodigoPostal
{
get
{
string str_Aux = "";
if (DireccionEnvio != null)
{
str_Aux = DireccionEnvio.codigoPostal;
}
return str_Aux;
}
}
//Pais
public long DireccionEnvio_IdPais
{
get
{
long lng_Aux = -1;
if (DireccionEnvio != null)
{
lng_Aux = DireccionEnvio.idPais;
}
return lng_Aux;
}
}
public string DireccionEnvio_Pais
{
get
{
string str_Aux = "";
if (DireccionEnvio != null && DireccionEnvio.GEN_Paises != null)
{
//Codigo
if (DireccionEnvio.GEN_Paises.codigo_ISO2D != null && DireccionEnvio.GEN_Paises.codigo_ISO2D.Trim().Length > 0)
{
str_Aux = "(" + DireccionEnvio.GEN_Paises.codigo_ISO2D + ") ";
}
//Descripcion
if (DireccionEnvio.GEN_Paises.descripcion != null && DireccionEnvio.GEN_Paises.descripcion.Trim().Length > 0)
{
str_Aux += DireccionEnvio.GEN_Paises.descripcion;
}
}
return str_Aux;
}
}
//Provincia
public long DireccionEnvio_IdProvincia
{
get
{
long lng_Aux = -1;
if (DireccionEnvio != null)
{
lng_Aux = DireccionEnvio.idProvincia;
}
return lng_Aux;
}
}
public string DireccionEnvio_Provincia
{
get
{
string str_Aux = "";
if (DireccionEnvio != null && DireccionEnvio.GEN_Provincias != null)
{
//Codigo
if (DireccionEnvio.GEN_Provincias.codigo != null && DireccionEnvio.GEN_Provincias.codigo.Trim().Length > 0)
{
str_Aux = "(" + DireccionEnvio.GEN_Provincias.codigo + ") ";
}
//Descripcion
if (DireccionEnvio.GEN_Provincias.descripcion != null && DireccionEnvio.GEN_Provincias.descripcion.Trim().Length > 0)
{
str_Aux += DireccionEnvio.GEN_Provincias.descripcion;
}
}
return str_Aux;
}
}
//Municipio
public long DireccionEnvio_IdMunicipio
{
get
{
long lng_Aux = -1;
if (DireccionEnvio != null && DireccionEnvio.idMunicipio != null)
{
lng_Aux = DireccionEnvio.idMunicipio.Value;
}
return lng_Aux;
}
}
public string DireccionEnvio_Municipio
{
get
{
string str_Aux = "";
if (DireccionEnvio != null && DireccionEnvio.GEN_Municipios != null)
{
//Codigo
if (DireccionEnvio.GEN_Municipios.codigoINE != null && DireccionEnvio.GEN_Municipios.codigoINE.Trim().Length > 0)
{
str_Aux = "(" + DireccionEnvio.GEN_Municipios.codigoINE + ") ";
}
//Descripcion
if (DireccionEnvio.GEN_Municipios.descripcion != null && DireccionEnvio.GEN_Municipios.descripcion.Trim().Length > 0)
{
str_Aux += DireccionEnvio.GEN_Municipios.descripcion;
}
}
return str_Aux;
}
}
//Poblacion
public long DireccionEnvio_IdPoblacion
{
get
{
long lng_Aux = -1;
if (DireccionEnvio != null && DireccionEnvio.idPoblacion != null)
{
lng_Aux = DireccionEnvio.idPoblacion.Value;
}
return lng_Aux;
}
}
public string DireccionEnvio_Poblacion
{
get
{
string str_Aux = "";
if (DireccionEnvio != null && DireccionEnvio.GEN_Poblaciones != null)
{
//Codigo
if (DireccionEnvio.GEN_Poblaciones.codigo != null && DireccionEnvio.GEN_Poblaciones.codigo.Trim().Length > 0)
{
str_Aux = "(" + DireccionEnvio.GEN_Poblaciones.codigo + ") ";
}
//Descripcion
if (DireccionEnvio.GEN_Poblaciones.descripcion != null && DireccionEnvio.GEN_Poblaciones.descripcion.Trim().Length > 0)
{
str_Aux += DireccionEnvio.GEN_Poblaciones.descripcion;
}
}
return str_Aux;
}
}
#endregion
}
}

View File

@ -0,0 +1,58 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Materias_Listado_Modelo : EPD_Materias
{
public INTERNO_EPD_Materias_Listado_Modelo()
{ }
public long codigo_Long
{
get
{
long lng_Codigo = 0;
if (Funciones.IsNumeric(codigo))
{
lng_Codigo = long.Parse(codigo);
}
return lng_Codigo;
}
}
#region Empresa
public string Empresa_Codigo { get; set; }
public string Empresa_Descripcion { get; set; }
public DateTime? Empresa_FechaBorrado { get; set; }
public string Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Empresa_Codigo != null && Empresa_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empresa_Codigo + ") ";
}
//Descripcion
if (Empresa_Descripcion != null && Empresa_Descripcion.Trim().Length > 0)
{
str_Aux += Empresa_Descripcion;
}
return str_Aux;
}
}
#endregion
}
}

View File

@ -0,0 +1,16 @@
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo : EPD_ProcedimientosNotificaciones
{
public INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo()
{ }
}
}

View File

@ -0,0 +1,130 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Procedimientos_Listado_Modelo : EPD_Procedimientos
{
public INTERNO_EPD_Procedimientos_Listado_Modelo()
{ }
#region Expediente
public string Expediente_Codigo { get; set; }
public string Expediente_Descripcion { get; set; }
public DateTime? Expediente_FechaBorrado { get; set; }
public string Expediente
{
get
{
string str_Aux = "";
//Codigo
if (Expediente_Codigo != null && Expediente_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Expediente_Codigo + ") ";
}
//Descripcion
if (Expediente_Descripcion != null && Expediente_Descripcion.Trim().Length > 0)
{
str_Aux += Expediente_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Materia
public string Materia_Codigo { get; set; }
public string Materia_Descripcion { get; set; }
public DateTime? Materia_FechaBorrado { get; set; }
public string Materia
{
get
{
string str_Aux = "";
//Codigo
if (Materia_Codigo != null && Materia_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Materia_Codigo + ") ";
}
//Descripcion
if (Materia_Descripcion != null && Materia_Descripcion.Trim().Length > 0)
{
str_Aux += Materia_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Empresa
public string Empresa_Codigo { get; set; }
public string Empresa_Descripcion { get; set; }
public DateTime? Empresa_FechaBorrado { get; set; }
public string Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Empresa_Codigo != null && Empresa_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Empresa_Codigo + ") ";
}
//Descripcion
if (Empresa_Descripcion != null && Empresa_Descripcion.Trim().Length > 0)
{
str_Aux += Empresa_Descripcion;
}
return str_Aux;
}
}
#endregion
#region Juzgado
public string Juzgado_Codigo { get; set; }
public string Juzgado_Descripcion { get; set; }
public DateTime? Juzgado_FechaBorrado { get; set; }
public string Juzgado
{
get
{
string str_Aux = "";
//Codigo
if (Juzgado_Codigo != null && Juzgado_Codigo.Trim().Length > 0)
{
str_Aux = "(" + Juzgado_Codigo + ") ";
}
//Descripcion
if (Juzgado_Descripcion != null && Juzgado_Descripcion.Trim().Length > 0)
{
str_Aux += Juzgado_Descripcion;
}
return str_Aux;
}
}
#endregion
public string Actores { get; set; }
}
}

View File

@ -0,0 +1,20 @@
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_EPD_Procedimientos_Modelo : EPD_Procedimientos
{
public INTERNO_EPD_Procedimientos_Modelo()
{ }
public List<long> Actores { get; set; }
public List<INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo> Notificaciones { get; set; }
public List<INTERNO_EPD_Citaciones_Listado_Modelo> Citaciones { get; set; }
}
}

View File

@ -0,0 +1,259 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using Exferia_Expedientes.General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_Informe_CitacionesPorExpediente_Modelo
{
public INTERNO_Informe_CitacionesPorExpediente_Modelo()
{ }
public int Tipo { get; set; }
#region Expediente
public long Expediente_id { get; set; }
public string Expediente_codigo { get; set; }
public string Expediente_descripcion { get; set; }
public DateTime Expediente_fechaAlta { get; set; }
public string Expediente_fechaAlta_Texto
{
get
{
return Expediente_fechaAlta.ToString("dd/MM/yyyy");
}
}
public DateTime? Expediente_fechaBaja { get; set; }
public string Expediente_fechaBaja_Texto
{
get
{
return (Expediente_fechaBaja!=null ? Expediente_fechaBaja.Value.ToString("dd/MM/yyyy") : "");
}
}
public bool Expediente_colectivo { get; set; }
public string Expediente_demandanteDemandado { get; set; }
public string Expediente_DemandanteDemandado_Texto
{
get
{
string str_ValorDevuelto = Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion;
if (Expediente_demandanteDemandado.Equals(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Codigo))
{
str_ValorDevuelto = Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion;
}
return str_ValorDevuelto;
}
}
public string Expediente_observaciones { get; set; }
//Asesor
public string Expediente_Asesor
{
get
{
string str_Aux = "";
//Codigo
if (Expediente_Asesor_codigo != null && Expediente_Asesor_codigo.Trim().Length > 0)
{
str_Aux = "(" + Expediente_Asesor_codigo + ") ";
}
//Descripcion
if (Expediente_Asesor_nombre != null && Expediente_Asesor_nombre.Trim().Length > 0)
{
str_Aux += Expediente_Asesor_nombre;
}
return str_Aux;
}
}
public string Expediente_Asesor_codigo { get; set; }
public string Expediente_Asesor_nombre { get; set; }
//Demandado
public string Expediente_Demandado
{
get
{
string str_Aux = "";
//Codigo
if (Expediente_Demandado_codigo != null && Expediente_Demandado_codigo.Trim().Length > 0)
{
str_Aux = "(" + Expediente_Demandado_codigo + ") ";
}
//Descripcion
if (Expediente_Demandado_nombre != null && Expediente_Demandado_nombre.Trim().Length > 0)
{
str_Aux += Expediente_Demandado_nombre;
}
return str_Aux;
}
}
public string Expediente_Demandado_codigo { get; set; }
public string Expediente_Demandado_nombre { get; set; }
//Empresa
public string Expediente_Empresa
{
get
{
string str_Aux = "";
//Codigo
if (Expediente_Empresa_codigo != null && Expediente_Empresa_codigo.Trim().Length > 0)
{
str_Aux = "(" + Expediente_Empresa_codigo + ") ";
}
//Descripcion
if (Expediente_Empresa_descripcion != null && Expediente_Empresa_descripcion.Trim().Length > 0)
{
str_Aux += Expediente_Empresa_descripcion;
}
return str_Aux;
}
}
public string Expediente_Empresa_codigo { get; set; }
public string Expediente_Empresa_descripcion { get; set; }
//Actores
public string Expediente_Actores { get; set; }
#endregion
#region Procedimientos
public long? Procedimientos_id { get; set; }
public string Procedimientos_numero { get; set; }
public string Procedimientos_numeroEjecucion { get; set; }
public string Procedimientos_observaciones { get; set; }
//Materia
public string Procedimientos_Materia
{
get
{
string str_Aux = "";
//Codigo
if (Procedimientos_Materia_codigo != null && Procedimientos_Materia_codigo.Trim().Length > 0)
{
str_Aux = "(" + Procedimientos_Materia_codigo + ") ";
}
//Descripcion
if (Procedimientos_Materia_descripcion != null && Procedimientos_Materia_descripcion.Trim().Length > 0)
{
str_Aux += Procedimientos_Materia_descripcion;
}
return str_Aux;
}
}
public string Procedimientos_Materia_codigo { get; set; }
public string Procedimientos_Materia_descripcion { get; set; }
//Juzgado
public string Procedimientos_Juzgado
{
get
{
string str_Aux = "";
//Codigo
if (Procedimientos_Juzgado_codigo != null && Procedimientos_Juzgado_codigo.Trim().Length > 0)
{
str_Aux = "(" + Procedimientos_Juzgado_codigo + ") ";
}
//Descripcion
if (Procedimientos_Juzgado_descripcion != null && Procedimientos_Juzgado_descripcion.Trim().Length > 0)
{
str_Aux += Procedimientos_Juzgado_descripcion;
}
return str_Aux;
}
}
public string Procedimientos_Juzgado_codigo { get; set; }
public string Procedimientos_Juzgado_descripcion { get; set; }
//Actores
public string Procedimientos_Actores { get; set; }
#endregion
#region Citaciones
public long? Citaciones_id { get; set; }
public string Citaciones_codigo { get; set; }
public string Citaciones_descripcion { get; set; }
public DateTime? Citaciones_fechaHora { get; set; }
public string Citaciones_Fecha
{
get
{
return (Citaciones_fechaHora!=null ? Citaciones_fechaHora.Value.ToString("dd/MM/yyyy") : "");
}
}
public string Citaciones_Hora
{
get
{
string str_ValorDevuelto = "";
if (Citaciones_fechaHora != null)
{
TimeSpan tms_hora = new TimeSpan(Citaciones_fechaHora.Value.Hour, Citaciones_fechaHora.Value.Minute, 0);
str_ValorDevuelto = tms_hora.ToString("hh\\:mm");
}
return str_ValorDevuelto;
}
}
public int? Citaciones_duracion { get; set; }
public string Citaciones_observaciones { get; set; }
//Asesor
public string Citaciones_Asesor
{
get
{
string str_Aux = "";
//Codigo
if (Citaciones_Asesor_codigo != null && Citaciones_Asesor_codigo.Trim().Length > 0)
{
str_Aux = "(" + Citaciones_Asesor_codigo + ") ";
}
//Descripcion
if (Citaciones_Asesor_nombre != null && Citaciones_Asesor_nombre.Trim().Length > 0)
{
str_Aux += Citaciones_Asesor_nombre;
}
return str_Aux;
}
}
public string Citaciones_Asesor_codigo { get; set; }
public string Citaciones_Asesor_nombre { get; set; }
#endregion
}
}

View File

@ -0,0 +1,104 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._0_Modelos
{
public class INTERNO_Informe_Citaciones_Modelo
{
public INTERNO_Informe_Citaciones_Modelo()
{ }
public int Tipo{ get; set; }
#region Juzgado
public long Juzgado_Id { get; set; }
public string Juzgado_Descripcion { get; set; }
#endregion
#region Citacion
#region Fecha/Hora
public DateTime Citacion_FechaHora { get; set; }
public DateTime Citacion_Fecha
{
get
{
return Citacion_FechaHora;
}
set
{
Citacion_FechaHora = value;
}
}
private string g_str_Citacion_Hora = "";
public string Citacion_Hora
{
get
{
string str_ValorDevuelto = "";
if (g_str_Citacion_Hora.Trim().Length>0 && g_str_Citacion_Hora!="-1")
{
str_ValorDevuelto = g_str_Citacion_Hora;
}
else if (g_str_Citacion_Hora.Trim().Length > 0 && g_str_Citacion_Hora == "-1")
{
str_ValorDevuelto = "";
}
else
{
TimeSpan tms_hora = new TimeSpan(Citacion_FechaHora.Hour, Citacion_FechaHora.Minute, 0);
str_ValorDevuelto = tms_hora.ToString("hh\\:mm");
}
return str_ValorDevuelto;
}
set
{
g_str_Citacion_Hora = value;
}
}
#endregion
public string Citacion_Observaciones { get; set; }
#endregion
#region Procedimiento
public string Procedimiento_Numero { get; set; }
public string Procedimiento_NumeroEjecucion { get; set; }
#endregion
#region Actores
public string Actores { get; set; }
#endregion
#region Demandado
public string Demandado { get; set; }
#endregion
#region Materia
public string Materia { get; set; }
#endregion
#region Asesor
public long Asesor_Id { get; set; }
public string Asesor_Nombre { get; set; }
#endregion
#region Expediente
public string Expediente_Codigo { get; set; }
#endregion
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,862 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Herencia.Capas;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading;
using static Exferia_Aplicacion.General.Enumerados;
namespace Exferia_Expedientes._1_Datos
{
public class EPD_Demandados_Datos : ABS_Datos
{
#region Listado
private List<INTERNO_EPD_Demandados_Listado_Modelo> g_lst_INTERNO_EPD_Demandados_Listado_Modelo = null;
public override List<dynamic> Obtener_Listado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
Exferia_Entities obj_Exferia_Entities = null;
List<dynamic> lst_MAE = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Consulta .....................................................
ConsultaRellenar_Listado(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Demandados).Name), _lst_CamposConRelacionABuscar, -1, null, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if ((g_lst_INTERNO_EPD_Demandados_Listado_Modelo != null) && (g_lst_INTERNO_EPD_Demandados_Listado_Modelo.Count() > 0))
{
lst_MAE = g_lst_INTERNO_EPD_Demandados_Listado_Modelo.Cast<dynamic>().ToList();
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Obtener_Listado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return lst_MAE;
}
public override dynamic Obtener_RegistroListado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo, long _lng_id, List<long> _lst_ids)
{
Exferia_Entities obj_Exferia_Entities = null;
dynamic dnm_MAE = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Consulta .....................................................
ConsultaRellenar_Listado(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Demandados).Name), _lst_CamposConRelacionABuscar, _lng_id, _lst_ids, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if ((g_lst_INTERNO_EPD_Demandados_Listado_Modelo != null) && (g_lst_INTERNO_EPD_Demandados_Listado_Modelo.Count() > 0))
{
dnm_MAE = g_lst_INTERNO_EPD_Demandados_Listado_Modelo.Cast<dynamic>().ToList();
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Obtener_RegistroListado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return dnm_MAE;
}
protected override void ConsultaRellenar_Listado(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionadas, List<string> _lst_CamposConRelacionABuscar, long _lng_id, List<long> _lst_ids, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
try
{
List<SqlParameter> lst_Parametros = new List<SqlParameter>();
string str_Filtros_Empresas = Funciones.Formar_ContenidoIN_ParaConsultaWhere(_lst_idEmpresasRelacionadas);
//Array de Ids para actualizar
string str_Filtros_IDS = Funciones.Formar_ContenidoIN_ParaConsultaWhere(_lst_ids);
//Filtros de Opciones
//Datos del Padre si los tuviera .........................
long lng_Padre_id = -1;
string str_Padre_Opcion = "";
if (_lst_INTERNO_Filtro_OpcionPadre_Modelo != null && _lst_INTERNO_Filtro_OpcionPadre_Modelo.Count > 0)
{
lng_Padre_id = _lst_INTERNO_Filtro_OpcionPadre_Modelo[0].VALOR;
str_Padre_Opcion = _lst_INTERNO_Filtro_OpcionPadre_Modelo[0].NOMBRE_CAMPO;
}
string str_SQL =
" SELECT " +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.id) + " = " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.id) + "," +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.codigo) + " = " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.codigo) + "," +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.nombre) + " = " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.nombre) + "," +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.cifnif) + " = " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.cifnif) + "," +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.cifTipo) + " = " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.cifTipo) + "," +
//ids
nameof(INTERNO_EPD_Demandados_Listado_Modelo.idEmpresa) + " = " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) +
" FROM " + nameof(EPD_Demandados) +
" WHERE " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.fechaBorrado) + " IS null AND " +
" ( " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + "=@idEmpresa " +
(
(_lst_idEmpresasRelacionadas != null && _lst_idEmpresasRelacionadas.Count > 0)
? (" OR " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + " in (" + str_Filtros_Empresas + ") ")
: " "
) +
" ) AND " +
(
(str_Filtros_IDS.Trim().Length > 0)
? (nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.id) + " in (" + str_Filtros_IDS + ") AND ")
: (
(_lng_id > -1)
?
(nameof(EPD_Demandados) + "." + (nameof(EPD_Demandados.id) + "=@id AND "))
: ("1 = 1 AND "))
) +
//Filtro por datos del padre relacionado
(
!str_Padre_Opcion.Equals("")
//Empresa
? str_Padre_Opcion.Equals(Variables.G_STR_OPCION_GEN_EMPRESA)
? (nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + "=@id_Padre")
: ("1 = 1")
: ("1 = 1")
);
//Parametros
lst_Parametros.Add(new SqlParameter("@idEmpresa", _lng_idEmpresaSeleccionada));
lst_Parametros.Add(new SqlParameter("@id", _lng_id));
lst_Parametros.Add(new SqlParameter("@id_Padre", lng_Padre_id));
object[] arr_Parametros = lst_Parametros.ToArray();
//Rellenar el Modelo
g_lst_INTERNO_EPD_Demandados_Listado_Modelo = _obj_Exferia_Entities.Database.SqlQuery<INTERNO_EPD_Demandados_Listado_Modelo>(str_SQL, arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(ConsultaRellenar_Listado), true);
}
}
#endregion
#region Listado Secundario
public override List<dynamic> Obtener_Listado_Secundario(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
return null;
}
public override dynamic Obtener_RegistroListado_Secundario(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo, long _lng_id, List<long> _lst_ids)
{
return null;
}
protected override void ConsultaRellenar_Listado_Secundario(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionadas, List<string> _lst_CamposConRelacionABuscar, long _lng_id, List<long> _lst_ids, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{ }
#endregion
#region F3
private INTERNO_EPD_Demandados_Listado_Modelo g_mdl_INTERNO_EPD_Demandados_Listado_Modelo = null;
public override dynamic Obtener_F3(string _str_filtro, string _str_CampoBusqueda, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
Exferia_Entities obj_Exferia_Entities = null;
dynamic dnm_MAE = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Consulta ......................................................
ConsultaRellenar_F3(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Demandados).Name), _str_CampoBusqueda, _str_filtro, -1, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if (g_mdl_INTERNO_EPD_Demandados_Listado_Modelo != null)
{
dnm_MAE = g_mdl_INTERNO_EPD_Demandados_Listado_Modelo;
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Obtener_F3), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return dnm_MAE;
}
public override dynamic Obtener_F3_PorId(long _lng_id, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
Exferia_Entities obj_Exferia_Entities = null;
dynamic dnm_MAE = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Consulta ......................................................
ConsultaRellenar_F3(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Demandados).Name), "", "", _lng_id, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if (g_mdl_INTERNO_EPD_Demandados_Listado_Modelo != null)
{
dnm_MAE = g_mdl_INTERNO_EPD_Demandados_Listado_Modelo;
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Obtener_F3_PorId), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return dnm_MAE;
}
protected override void ConsultaRellenar_F3(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionas, string _str_CampoBusqueda, string _str_Filtro, long _lng_id, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
try
{
List<SqlParameter> lst_Parametros = new List<SqlParameter>();
string str_Filtros_Empresas = Funciones.Formar_ContenidoIN_ParaConsultaWhere(_lst_idEmpresasRelacionas);
//Filtros de Opciones
//Datos del Padre si los tuviera .........................
long lng_Padre_id = -1;
string str_Padre_Opcion = "";
if (_lst_INTERNO_Filtro_OpcionPadre_Modelo != null && _lst_INTERNO_Filtro_OpcionPadre_Modelo.Count > 0)
{
lng_Padre_id = _lst_INTERNO_Filtro_OpcionPadre_Modelo[0].VALOR;
str_Padre_Opcion = _lst_INTERNO_Filtro_OpcionPadre_Modelo[0].NOMBRE_CAMPO;
}
string str_SQL =
" SELECT distinct " +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.id) + " = " + nameof(EPD_Demandados.id) + "," +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.codigo) + " = " + nameof(EPD_Demandados.codigo) + "," +
nameof(INTERNO_EPD_Demandados_Listado_Modelo.nombre) + " = " + nameof(EPD_Demandados.nombre) +
" FROM " + nameof(EPD_Demandados) +
" WHERE " + nameof(EPD_Demandados.fechaBorrado) + " IS null AND " +
" ( " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + "=@idEmpresa " +
(
(_lst_idEmpresasRelacionas != null && _lst_idEmpresasRelacionas.Count > 0)
? (" OR " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + " in (" + str_Filtros_Empresas + ") ")
: " "
) +
" ) AND " +
(
(_lng_id > -1)
? (nameof(EPD_Demandados.id) + " = " + _lng_id)
: (
//Filtrar por Codigo
(_str_CampoBusqueda.Equals(nameof(EPD_Demandados.codigo)))
? (nameof(EPD_Demandados.codigo) + "=@Filtro")
//Filtrar por Nombre
: (nameof(EPD_Demandados.nombre) + "=@Filtro")
)
)
+ " AND " +
//Filtro por datos del padre relacionado
(
!str_Padre_Opcion.Equals("")
//Empresa
? str_Padre_Opcion.Equals(Variables.G_STR_OPCION_GEN_EMPRESA)
? (nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + "=@id_Padre")
: ("1 = 1")
: ("1 = 1")
);
//Parametros
lst_Parametros.Add(new SqlParameter("@idEmpresa", _lng_idEmpresaSeleccionada));
lst_Parametros.Add(new SqlParameter("@Filtro", _str_Filtro));
lst_Parametros.Add(new SqlParameter("@id_Padre", lng_Padre_id));
object[] arr_Parametros = lst_Parametros.ToArray();
//Rellenar el Modelo
g_mdl_INTERNO_EPD_Demandados_Listado_Modelo = _obj_Exferia_Entities.Database.SqlQuery<INTERNO_EPD_Demandados_Listado_Modelo>(str_SQL, arr_Parametros).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(ConsultaRellenar_F3), true);
}
}
#endregion
#region Obtener
#region Obtener Simple
private dynamic g_dnm_Modelo_Obtener = null;
private static int g_int_TotalHilos_Obtener = 3;
private bool[] g_bol_Hilos_Terminados_Obtener = new bool[g_int_TotalHilos_Obtener];
public override dynamic Obtener(long _lng_id)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
string str_SQL =
" SELECT " +
nameof(INTERNO_EPD_Demandados_Modelo.id) + "=" + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.id) + " , " +
nameof(INTERNO_EPD_Demandados_Modelo.codigo) + "=" + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.codigo) + " , " +
nameof(INTERNO_EPD_Demandados_Modelo.nombre) + "=" + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.nombre) + " , " +
nameof(INTERNO_EPD_Demandados_Modelo.observaciones) + "=" + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.observaciones) + " , " +
nameof(INTERNO_EPD_Demandados_Modelo.cifnif) + "=" + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.cifnif) + " , " +
nameof(INTERNO_EPD_Demandados_Modelo.idEmpresa) + "=" + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + " , " +
nameof(INTERNO_EPD_Demandados_Modelo.fechaBorrado) + "=" + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.fechaBorrado) + " , " +
nameof(INTERNO_EPD_Demandados_Modelo.cifTipo) + " = " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.cifTipo) +
" FROM " + nameof(EPD_Demandados) +
" WHERE " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.fechaBorrado) + " IS null AND " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.id) + "=@id ";
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@id", _lng_id)
};
//Rellenar el Modelo
g_dnm_Modelo_Obtener = obj_Exferia_Entities.Database.SqlQuery<INTERNO_EPD_Demandados_Modelo>(str_SQL, arr_Parametros).FirstOrDefault();
#region Rellenar tablas Relacionadas
if (g_dnm_Modelo_Obtener != null)
{
//reiniciar Valores de los hilos
for (int int_Contador = 0; int_Contador < g_int_TotalHilos_Obtener; int_Contador++)
{
g_bol_Hilos_Terminados_Obtener[int_Contador] = false;
}
//EPD_Expedientes ##########################################################################################
ThreadStart obj_ThreadStart_EXPEDIENTES = new ThreadStart(Obtener_Expedientes_Modelo_Obtener);
Thread obj_Thread_EXPEDIENTES = new Thread(obj_ThreadStart_EXPEDIENTES);
obj_Thread_EXPEDIENTES.Start();
//EPD_Citaciones ##########################################################################################
ThreadStart obj_ThreadStart_CITACIONES = new ThreadStart(Obtener_Citaciones_Modelo_Obtener);
Thread obj_Thread_CITACIONES = new Thread(obj_ThreadStart_CITACIONES);
obj_Thread_CITACIONES.Start();
//EPD_Procedimientos ##########################################################################################
ThreadStart obj_ThreadStart_PROCEDIMIENTOS = new ThreadStart(Obtener_Procedimientos_Modelo_Obtener);
Thread obj_Thread_PROCEDIMIENTOS = new Thread(obj_ThreadStart_PROCEDIMIENTOS);
obj_Thread_PROCEDIMIENTOS.Start();
//Esperando a que terminen todos los hilos .........................................
bool bol_Termino = false;
while (bol_Termino == false)
{
bol_Termino = true;
foreach (bool bol_Termino_Hilo in g_bol_Hilos_Terminados_Obtener)
{
if (bol_Termino_Hilo == false)
{
bol_Termino = false;
break;
}
}
Thread.Sleep(10);
}
//.................................................................................
}
#endregion
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Obtener), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return g_dnm_Modelo_Obtener;
}
#region Tablas Relacionadas
private void Obtener_Expedientes_Modelo_Obtener()
{
try
{
EPD_Expedientes_Datos obj_EPD_Expedientes_Datos = new EPD_Expedientes_Datos();
g_dnm_Modelo_Obtener.Expedientes = obj_EPD_Expedientes_Datos.Obtener_Registros_Para_Listado_Por_Demandado(g_dnm_Modelo_Obtener.id);
}
catch (Control_Errores)
{ }
finally
{
g_bol_Hilos_Terminados_Obtener[0] = true;
}
}
private void Obtener_Citaciones_Modelo_Obtener()
{
try
{
EPD_Citaciones_Datos obj_EPD_Citaciones_Datos = new EPD_Citaciones_Datos();
g_dnm_Modelo_Obtener.Citaciones = obj_EPD_Citaciones_Datos.Obtener_Registros_Para_Listado_Por_Demandado(g_dnm_Modelo_Obtener.id);
}
catch (Control_Errores)
{ }
finally
{
g_bol_Hilos_Terminados_Obtener[1] = true;
}
}
private void Obtener_Procedimientos_Modelo_Obtener()
{
try
{
EPD_Procedimientos_Datos obj_EPD_Procedimientos_Datos = new EPD_Procedimientos_Datos();
g_dnm_Modelo_Obtener.Procedimientos = obj_EPD_Procedimientos_Datos.Obtener_Registros_Para_Listado_Por_Demandado(g_dnm_Modelo_Obtener.id);
}
catch (Control_Errores)
{ }
finally
{
g_bol_Hilos_Terminados_Obtener[2] = true;
}
}
#endregion
#endregion
public override dynamic Obtener_Registro_PorCampo(string _str_Filtro, string _str_CampoBusqueda, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual)
{
throw new NotImplementedException();
}
#endregion
#region MODELOS
#region Modelo Simple
private EPD_Demandados g_mdl_EPD_Demandados = null;
public EPD_Demandados Obtener_Modelo_Por_Id(long _lng_id)
{
try
{
string str_SQL = Obtener_Consulta_Modelo() +
//WHERE
" WHERE " + nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.id) + "=@id";
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@id", _lng_id)
};
//Ejecutar y rellenar el modelo
Ejecutar_Consulta_Modelo(str_SQL,
arr_Parametros);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Obtener_Modelo_Por_Id), true);
}
return g_mdl_EPD_Demandados;
}
#region Ejecutar Consulta
private void Ejecutar_Consulta_Modelo(string _str_SQL,
object[] _arr_Parametros)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el Modelo
g_mdl_EPD_Demandados = obj_Exferia_Entities.Database.SqlQuery<EPD_Demandados>(_str_SQL, _arr_Parametros).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados) + "/" + nameof(Ejecutar_Consulta_Modelo), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#endregion
#region Modelo Listado
private List<EPD_Demandados> g_lst_EPD_Demandados = null;
public List<EPD_Demandados> Obtener_ModeloListado_Por_Ids(List<long> _lst_Ids)
{
try
{
if (_lst_Ids != null && _lst_Ids.Count > 0)
{
string str_Filtro_IDS = Funciones.Formar_ContenidoIN_ParaConsultaWhere(nameof(EPD_Demandados),
nameof(EPD_Demandados.id),
G_ENUM_FORMARCONTENIDOIN_CONDICIONANTES.NADA,
_lst_Ids);
//Consulta
string str_SQL = Obtener_Consulta_Modelo() +
" WHERE " +
str_Filtro_IDS;
//Ejecutar y rellenar el listado
Ejecutar_Consulta_Modelo_Listado(str_SQL,
new object[] { });
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Obtener_ModeloListado_Por_Ids), true);
}
return g_lst_EPD_Demandados;
}
#region Ejecutar Consulta
private void Ejecutar_Consulta_Modelo_Listado(string _str_SQL,
object[] _arr_Parametros)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el modelo
g_lst_EPD_Demandados = obj_Exferia_Entities.Database.SqlQuery<EPD_Demandados>(_str_SQL, _arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Ejecutar_Consulta_Modelo_Listado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#endregion
private string Obtener_Consulta_Modelo()
{
return
" SELECT " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.id) + " , " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.codigo) + " , " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.nombre) + " , " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.observaciones) + " , " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.cifnif) + " , " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.idEmpresa) + " , " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.fechaBorrado) + " , " +
nameof(EPD_Demandados) + "." + nameof(EPD_Demandados.cifTipo) +
" FROM " + nameof(EPD_Demandados);
}
#endregion
#region Grabar
public override INTERNO_ValorDevuelto_Modelo Grabar(object _mdl_obj)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
EPD_Demandados mdl_EPD_Demandados_AGrabar = (EPD_Demandados)_mdl_obj;
EPD_Demandados mdl_EPD_Demandados_DatosViejos = new EPD_Demandados();
// Ver si existe ######################################################################
EPD_Demandados mdl_EPD_Demandados_Final = Obtener_Modelo_Por_Id(mdl_EPD_Demandados_AGrabar.id);
//######################################################################################
//UPDATE
if (mdl_EPD_Demandados_Final != null)
{
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_MODIFICAR;
//Datos viejos para la trazabilidad
Funciones.CopiarPropiedadesObjetos(mdl_EPD_Demandados_Final, mdl_EPD_Demandados_DatosViejos, false, false);
// Cargar los Datos Nuevos del Modelo
Funciones.CopiarPropiedadesObjetos(mdl_EPD_Demandados_AGrabar, mdl_EPD_Demandados_Final, false, false);
#region UPDATE
string str_SQL_Update = " UPDATE " + nameof(EPD_Demandados) +
" SET " +
nameof(EPD_Demandados.codigo) + "=@codigo," +
nameof(EPD_Demandados.nombre) + "=@nombre," +
nameof(EPD_Demandados.observaciones) + "=@observaciones," +
nameof(EPD_Demandados.cifnif) + "=@cifnif," +
nameof(EPD_Demandados.idEmpresa) + "=@idEmpresa," +
nameof(EPD_Demandados.fechaBorrado) + "=@fechaBorrado," +
nameof(EPD_Demandados.cifTipo) + "=@cifTipo" +
" WHERE " +
nameof(EPD_Demandados.id) + "=@id";
//Parametros
object[] arr_Parametros_Update = new object[]
{
new SqlParameter("@codigo", mdl_EPD_Demandados_AGrabar.codigo),
new SqlParameter("@nombre", mdl_EPD_Demandados_AGrabar.nombre),
mdl_EPD_Demandados_AGrabar.observaciones!=null
? new SqlParameter("@observaciones", mdl_EPD_Demandados_AGrabar.observaciones)
: new SqlParameter("@observaciones", DBNull.Value),
mdl_EPD_Demandados_AGrabar.cifnif!=null
? new SqlParameter("@cifnif", mdl_EPD_Demandados_AGrabar.cifnif)
: new SqlParameter("@cifnif", DBNull.Value),
new SqlParameter("@idEmpresa", mdl_EPD_Demandados_AGrabar.idEmpresa),
mdl_EPD_Demandados_AGrabar.fechaBorrado!=null
? new SqlParameter("@fechaBorrado", mdl_EPD_Demandados_AGrabar.fechaBorrado.Value)
: new SqlParameter("@fechaBorrado", DBNull.Value),
mdl_EPD_Demandados_AGrabar.cifTipo!=null
? new SqlParameter("@cifTipo", mdl_EPD_Demandados_AGrabar.cifTipo)
: new SqlParameter("@cifTipo", DBNull.Value),
new SqlParameter("@id", mdl_EPD_Demandados_AGrabar.id)
};
#endregion
//Update
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Update, arr_Parametros_Update);
//Id de la tabla
mdl_INTERNO_ValorDevuelto_Modelo.Id = mdl_EPD_Demandados_AGrabar.id;
}
//INSERT
else
{
mdl_EPD_Demandados_Final = new EPD_Demandados();
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_INSERTAR;
// Cargar los Datos del Modelo
Funciones.CopiarPropiedadesObjetos(mdl_EPD_Demandados_AGrabar, mdl_EPD_Demandados_Final, false, false);
#region INSERT
string str_SQL_Insert = " INSERT INTO " + nameof(EPD_Demandados) +
" (" +
nameof(EPD_Demandados.codigo) + "," +
nameof(EPD_Demandados.nombre) + "," +
nameof(EPD_Demandados.observaciones) + "," +
nameof(EPD_Demandados.cifnif) + "," +
nameof(EPD_Demandados.idEmpresa) + "," +
nameof(EPD_Demandados.fechaBorrado) + "," +
nameof(EPD_Demandados.cifTipo) +
" ) " +
" OUTPUT INSERTED." + nameof(EPD_Demandados.id) +
" VALUES " +
" ( " +
"@codigo," +
"@nombre," +
"@observaciones," +
"@cifnif," +
"@idEmpresa," +
"@fechaBorrado," +
"@cifTipo" +
" ) ";
//Parametros
object[] arr_Parametros_Insert = new object[]
{
new SqlParameter("@codigo", mdl_EPD_Demandados_AGrabar.codigo),
new SqlParameter("@nombre", mdl_EPD_Demandados_AGrabar.nombre),
mdl_EPD_Demandados_AGrabar.observaciones!=null
? new SqlParameter("@observaciones", mdl_EPD_Demandados_AGrabar.observaciones)
: new SqlParameter("@observaciones", DBNull.Value),
mdl_EPD_Demandados_AGrabar.cifnif!=null
? new SqlParameter("@cifnif", mdl_EPD_Demandados_AGrabar.cifnif)
: new SqlParameter("@cifnif", DBNull.Value),
new SqlParameter("@idEmpresa", mdl_EPD_Demandados_AGrabar.idEmpresa),
mdl_EPD_Demandados_AGrabar.fechaBorrado!=null
? new SqlParameter("@fechaBorrado", mdl_EPD_Demandados_AGrabar.fechaBorrado.Value)
: new SqlParameter("@fechaBorrado", DBNull.Value),
mdl_EPD_Demandados_AGrabar.cifTipo!=null
? new SqlParameter("@cifTipo", mdl_EPD_Demandados_AGrabar.cifTipo)
: new SqlParameter("@cifTipo", DBNull.Value),
};
#endregion
//Id de la tabla
mdl_INTERNO_ValorDevuelto_Modelo.Id = obj_Exferia_Entities.Database.SqlQuery<long>(str_SQL_Insert, arr_Parametros_Insert).Single();
}
// Grabar un registro de trazabilidad con los datos de la transaccion realizada.
Datos_Generales.USR_Trazabilidad_Grabar(typeof(EPD_Demandados), mdl_EPD_Demandados_DatosViejos, mdl_EPD_Demandados_Final, mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion, obj_Exferia_Entities);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Grabar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Borrar
public override INTERNO_ValorDevuelto_Modelo Borrar(long _lng_id)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
//Tipo de Accion que se va a realizar
mdl_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_ELIMINAR;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Ver si existe ######################################################################
EPD_Demandados mdl_EPD_Demandados_Final = Obtener_Modelo_Por_Id(_lng_id);
//######################################################################################
if (mdl_EPD_Demandados_Final != null)
{
#region UPDATE
string str_SQL_Update = " UPDATE " + nameof(EPD_Demandados) +
" SET " +
nameof(EPD_Demandados.fechaBorrado) + "=@fechaBorrado " +
" WHERE " +
nameof(EPD_Demandados.id) + "=@id";
//Parametros
object[] arr_Parametros_Update = new object[]
{
new SqlParameter("@fechaBorrado", DateTime.Now),
new SqlParameter("@id", _lng_id)
};
#endregion
//Update
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Update, arr_Parametros_Update);
// Grabar un registro de trazabilidad con los datos de la transaccion realizada.
Datos_Generales.USR_Trazabilidad_Grabar(typeof(EPD_Demandados), null, mdl_EPD_Demandados_Final, G_ENUM_TIPOACCION.INT_ELIMINAR, obj_Exferia_Entities);
}
// Devolver también el Objeto
mdl_ValorDevuelto_Modelo.Id = _lng_id;
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Demandados_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_ValorDevuelto_Modelo;
}
public override INTERNO_ValorDevuelto_Modelo Borrar(long _lng_id, long _lng_idAuxiliar)
{
throw new NotImplementedException();
}
public override INTERNO_ValorDevuelto_Modelo Borrar(object _mdl_obj)
{
return null;
}
#endregion
}
}

View File

@ -0,0 +1,192 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._1_Datos
{
public class EPD_Expedientes_Actores_Datos
{
#region Obtener
public List<long> Obtener_Listado(long _lng_idExpediente)
{
Exferia_Entities obj_Exferia_Entities = null;
List<long> lst_idActor = new List<long>();
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Consulta .........................................................
string str_SQL =
" SELECT " +
nameof(EPD_Expedientes_Actores) + "." + nameof(EPD_Expedientes_Actores.idActor) +
" FROM " + nameof(EPD_Expedientes_Actores) +
" WHERE " + nameof(EPD_Expedientes_Actores.idExpediente) + "=@idExpediente ";
// .....................................................................
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@idExpediente", _lng_idExpediente)
};
//Rellenar el Modelo
lst_idActor = obj_Exferia_Entities.Database.SqlQuery<long>(str_SQL, arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Expedientes_Actores_Datos) + "/" + nameof(Obtener_Listado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return lst_idActor;
}
#endregion
#region Grabar
public INTERNO_ValorDevuelto_Modelo Insertar(EPD_Expedientes_Actores _mdl_EPD_Expedientes_Actores)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.ProxyCreationEnabled = true;
string str_SQL_Insertar = " INSERT INTO " + nameof(EPD_Expedientes_Actores) + " (" + nameof(EPD_Expedientes_Actores.idExpediente) + "," + nameof(EPD_Expedientes_Actores.idActor) + "," + nameof(EPD_Expedientes_Actores.observaciones) + ") values (" + _mdl_EPD_Expedientes_Actores.idExpediente + "," + _mdl_EPD_Expedientes_Actores.idActor + ",'')";
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Insertar);
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Expedientes_Actores_Datos) + "/" + nameof(Insertar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_ValorDevuelto_Modelo;
}
#endregion
#region Borrar
public INTERNO_ValorDevuelto_Modelo Borrar(long _lng_idExpediente, long _lng_idActor)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = Enumerados.G_ENUM_TIPOACCION.INT_ELIMINAR;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
string str_SQL_Delete = " DELETE FROM " + nameof(EPD_Expedientes_Actores) +
" WHERE " +
nameof(EPD_Expedientes_Actores.idExpediente) + "=@idExpediente AND " +
nameof(EPD_Expedientes_Actores.idActor) + "=@idActor ";
//Parametros
object[] arr_Parametros_Delete = new object[]
{
new SqlParameter("@idExpediente", _lng_idExpediente),
new SqlParameter("@idActor", _lng_idActor)
};
//Delete
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Delete, arr_Parametros_Delete);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Expedientes_Actores_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
public INTERNO_ValorDevuelto_Modelo Borrar(long _lng_idExpediente,List<long> _lst_idActor)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = Enumerados.G_ENUM_TIPOACCION.INT_ELIMINAR;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
foreach (long lng_idActor in _lst_idActor)
{
string str_SQL_Delete = " DELETE FROM " + nameof(EPD_Expedientes_Actores) +
" WHERE " +
nameof(EPD_Expedientes_Actores.idExpediente) + "=@idExpediente AND " +
nameof(EPD_Expedientes_Actores.idActor) + "=@idActor ";
//Parametros
object[] arr_Parametros_Delete = new object[]
{
new SqlParameter("@idExpediente", _lng_idExpediente),
new SqlParameter("@idActor", lng_idActor)
};
//Delete
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Delete, arr_Parametros_Delete);
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Expedientes_Actores_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,822 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Herencia.Capas;
using Exferia_Aplicacion.Modelos_MantenimientoSimple;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Exferia_Aplicacion.General.Enumerados;
namespace Exferia_Expedientes._1_Datos
{
public class EPD_Materias_Datos : ABS_Datos
{
#region Listado
private List<INTERNO_EPD_Materias_Listado_Modelo> g_lst_INTERNO_EPD_Materias_Listado_Modelo = null;
public override List<dynamic> Obtener_Listado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
Exferia_Entities obj_Exferia_Entities = null;
List<dynamic> lst_gen = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Consulta .....................................................
ConsultaRellenar_Listado(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Materias).Name), _lst_CamposConRelacionABuscar, -1, null, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if ((g_lst_INTERNO_EPD_Materias_Listado_Modelo != null) && (g_lst_INTERNO_EPD_Materias_Listado_Modelo.Count() > 0))
{
lst_gen = g_lst_INTERNO_EPD_Materias_Listado_Modelo.Cast<dynamic>().ToList();
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_Listado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return lst_gen;
}
public override dynamic Obtener_RegistroListado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo, long _lng_id, List<long> _lst_ids)
{
Exferia_Entities obj_Exferia_Entities = null;
dynamic dnm_EPD = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Consulta .....................................................
ConsultaRellenar_Listado(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Materias).Name), _lst_CamposConRelacionABuscar, _lng_id, _lst_ids, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if ((g_lst_INTERNO_EPD_Materias_Listado_Modelo != null) && (g_lst_INTERNO_EPD_Materias_Listado_Modelo.Count() > 0))
{
dnm_EPD = g_lst_INTERNO_EPD_Materias_Listado_Modelo.Cast<dynamic>().ToList();
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_RegistroListado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return dnm_EPD;
}
protected override void ConsultaRellenar_Listado(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionadas, List<string> _lst_CamposConRelacionABuscar, long _lng_id, List<long> _lst_ids, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
try
{
List<SqlParameter> lst_Parametros = new List<SqlParameter>();
string str_Filtros_Empresas = Funciones.Formar_ContenidoIN_ParaConsultaWhere(_lst_idEmpresasRelacionadas);
//Filtros de Opciones
//Datos del Padre si los tuviera .........................
long lng_Padre_id_Empresa = -1;
string str_Padre_Opcion_Empresa = "";
if (_lst_INTERNO_Filtro_OpcionPadre_Modelo != null && _lst_INTERNO_Filtro_OpcionPadre_Modelo.Count > 0)
{
foreach (INTERNO_Filtro_OpcionPadre_Modelo mdl_INTERNO_Filtro_OpcionPadre_Modelo in _lst_INTERNO_Filtro_OpcionPadre_Modelo)
{
//Empresa
if (mdl_INTERNO_Filtro_OpcionPadre_Modelo.NOMBRE_CAMPO.Equals(Variables.G_STR_OPCION_GEN_EMPRESA))
{
lng_Padre_id_Empresa = mdl_INTERNO_Filtro_OpcionPadre_Modelo.VALOR;
str_Padre_Opcion_Empresa = mdl_INTERNO_Filtro_OpcionPadre_Modelo.NOMBRE_CAMPO;
}
}
}
string str_SQL =
" SELECT " +
nameof(INTERNO_EPD_Materias_Listado_Modelo.id) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.id) + "," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.codigo) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.codigo) + "," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.descripcion) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.descripcion) + "," +
//ids
nameof(INTERNO_EPD_Materias_Listado_Modelo.idEmpresa) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + "," +
//Empresa
(
(_lst_CamposConRelacionABuscar.Contains(nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa)))
?
(
nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa_Codigo) + " = " + nameof(GEN_Empresas) + "." + nameof(GEN_Empresas.codigo) + "," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa_Descripcion) + " =" + nameof(GEN_Empresas) + "." + nameof(GEN_Empresas.descripcion) + "," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa_FechaBorrado) + " =" + nameof(GEN_Empresas) + "." + nameof(GEN_Empresas.fechaBorrado)
)
:
(
nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa_Codigo) + " = ''," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa_Descripcion) + " = ''," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa_FechaBorrado) + " = NULL "
)
) +
" FROM " + nameof(EPD_Materias) +
//Empresa
(
(_lst_CamposConRelacionABuscar.Contains(nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa)))
?
(
" LEFT JOIN " + nameof(GEN_Empresas) + " ON " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + " = " + nameof(GEN_Empresas) + "." + nameof(GEN_Empresas.id)
)
: ("")
) +
" WHERE " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.fechaBorrado) + " IS null AND " +
" ( " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + "=@idEmpresa" +
(
(_lst_idEmpresasRelacionadas != null && _lst_idEmpresasRelacionadas.Count > 0)
? (" OR " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + " in (" + str_Filtros_Empresas + ") ")
: " "
) +
" ) AND " +
(_lng_id > -1 ? nameof(EPD_Materias) + "." + (nameof(EPD_Materias.id) + "=@id") : "1 = 1") + " AND " +
//Filtro por datos del padre relacionado Empresa
(
!str_Padre_Opcion_Empresa.Equals("")
//Empresa
? str_Padre_Opcion_Empresa.Equals(Variables.G_STR_OPCION_GEN_EMPRESA)
? (nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + "=@id_Padre_Empresa")
: ("1 = 1")
: ("1 = 1")
);
//Parametros
lst_Parametros.Add(new SqlParameter("@idEmpresa", _lng_idEmpresaSeleccionada));
lst_Parametros.Add(new SqlParameter("@id", _lng_id));
lst_Parametros.Add(new SqlParameter("@id_Padre_Empresa", lng_Padre_id_Empresa));
object[] arr_Parametros = lst_Parametros.ToArray();
//Rellenar el Modelo
g_lst_INTERNO_EPD_Materias_Listado_Modelo = _obj_Exferia_Entities.Database.SqlQuery<INTERNO_EPD_Materias_Listado_Modelo>(str_SQL, arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(ConsultaRellenar_Listado), true);
}
}
#endregion
#region Listado Secundario
public override List<dynamic> Obtener_Listado_Secundario(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
return null;
}
public override dynamic Obtener_RegistroListado_Secundario(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo, long _lng_id, List<long> _lst_ids)
{
return null;
}
protected override void ConsultaRellenar_Listado_Secundario(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionadas, List<string> _lst_CamposConRelacionABuscar, long _lng_id, List<long> _lst_ids, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{ }
#endregion
#region F3
private INTERNO_EPD_Materias_Listado_Modelo g_mdl_INTERNO_EPD_Materias_Listado_Modelo_F3 = null;
public override dynamic Obtener_F3(string _str_filtro, string _str_CampoBusqueda, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
Exferia_Entities obj_Exferia_Entities = null;
dynamic dnm_GEN = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Consulta ......................................................
ConsultaRellenar_F3(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Materias).Name), _str_CampoBusqueda, _str_filtro, -1, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if (g_mdl_INTERNO_EPD_Materias_Listado_Modelo_F3 != null)
{
dnm_GEN = g_mdl_INTERNO_EPD_Materias_Listado_Modelo_F3;
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_F3), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return dnm_GEN;
}
public override dynamic Obtener_F3_PorId(long _lng_id, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
Exferia_Entities obj_Exferia_Entities = null;
dynamic dnm_GEN = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Consulta ......................................................
ConsultaRellenar_F3(obj_Exferia_Entities, _lng_idEmpresaSeleccionada, _lng_idEjercicioActual, Datos_Generales.GEN_Empresas_Devolver_EmpresasCompartidas_SegunFichero(_lng_idEmpresaSeleccionada, typeof(EPD_Materias).Name), "", "", _lng_id, _lst_INTERNO_Filtro_OpcionPadre_Modelo, _lst_INTERNO_Filtro_Modelo);
// ..............................................................
if (g_mdl_INTERNO_EPD_Materias_Listado_Modelo_F3 != null)
{
dnm_GEN = g_mdl_INTERNO_EPD_Materias_Listado_Modelo_F3;
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_F3), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return dnm_GEN;
}
protected override void ConsultaRellenar_F3(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionadas, string _str_CampoBusqueda, string _str_Filtro, long _lng_id, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
try
{
List<SqlParameter> lst_Parametros = new List<SqlParameter>();
string str_Filtros_Empresas = Funciones.Formar_ContenidoIN_ParaConsultaWhere(_lst_idEmpresasRelacionadas);
//Filtros de Opciones
//Datos del Padre si los tuviera .........................
long lng_Padre_id_Empresa = -1;
string str_Padre_Opcion_Empresa = "";
if (_lst_INTERNO_Filtro_OpcionPadre_Modelo != null && _lst_INTERNO_Filtro_OpcionPadre_Modelo.Count > 0)
{
foreach (INTERNO_Filtro_OpcionPadre_Modelo mdl_INTERNO_Filtro_OpcionPadre_Modelo in _lst_INTERNO_Filtro_OpcionPadre_Modelo)
{
//Empresa
if (mdl_INTERNO_Filtro_OpcionPadre_Modelo.NOMBRE_CAMPO.Equals(Variables.G_STR_OPCION_GEN_EMPRESA))
{
lng_Padre_id_Empresa = mdl_INTERNO_Filtro_OpcionPadre_Modelo.VALOR;
str_Padre_Opcion_Empresa = mdl_INTERNO_Filtro_OpcionPadre_Modelo.NOMBRE_CAMPO;
}
}
}
string str_SQL =
" SELECT distinct " +
nameof(INTERNO_EPD_Materias_Listado_Modelo.id) + " = " + nameof(EPD_Materias.id) + "," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.codigo) + " = " + nameof(EPD_Materias.codigo) + "," +
nameof(INTERNO_EPD_Materias_Listado_Modelo.descripcion) + " = " + nameof(EPD_Materias.descripcion) +
" FROM " + nameof(EPD_Materias) +
" WHERE " + nameof(EPD_Materias.fechaBorrado) + " IS null AND " +
" ( " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + "=@idEmpresa" +
(
(_lst_idEmpresasRelacionadas != null && _lst_idEmpresasRelacionadas.Count > 0)
? (" OR " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + " in (" + str_Filtros_Empresas + ") ")
: " "
) +
" ) AND " +
(
(_lng_id > -1)
? (nameof(EPD_Materias.id) + " = " + _lng_id)
: (
//Filtrar por Codigo
(_str_CampoBusqueda.Equals(nameof(EPD_Materias.codigo)))
? (nameof(EPD_Materias.codigo) + "=@Filtro")
//Filtrar por Descripcion
: (nameof(EPD_Materias.descripcion) + "=@Filtro")
)
)
+ " AND " +
//Filtro por datos del padre relacionado Empresa
(
!str_Padre_Opcion_Empresa.Equals("")
//Empresa
? str_Padre_Opcion_Empresa.Equals(Variables.G_STR_OPCION_GEN_EMPRESA)
? (nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + "=@id_Padre_Empresa")
: ("1 = 1")
: ("1 = 1")
);
//Parametros
lst_Parametros.Add(new SqlParameter("@idEmpresa", _lng_idEmpresaSeleccionada));
lst_Parametros.Add(new SqlParameter("@Filtro", _str_Filtro));
lst_Parametros.Add(new SqlParameter("@id_Padre_Empresa", lng_Padre_id_Empresa));
object[] arr_Parametros = lst_Parametros.ToArray();
//Rellenar el Modelo
g_mdl_INTERNO_EPD_Materias_Listado_Modelo_F3 = _obj_Exferia_Entities.Database.SqlQuery<INTERNO_EPD_Materias_Listado_Modelo>(str_SQL, arr_Parametros).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(ConsultaRellenar_F3), true);
}
}
#endregion
#region Obtener
private dynamic g_dnm_Modelo_Obtener = null;
public override dynamic Obtener(long _lng_id)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Consulta......................................................
string str_SQL =
" SELECT " +
nameof(INTERNO_MantenimientoSimple_Modelo.id) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.id) + "," +
nameof(INTERNO_MantenimientoSimple_Modelo.codigo) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.codigo) + "," +
nameof(INTERNO_MantenimientoSimple_Modelo.descripcion) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.descripcion) + "," +
nameof(INTERNO_MantenimientoSimple_Modelo.fechaBorrado) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.fechaBorrado) + "," +
nameof(INTERNO_MantenimientoSimple_Modelo.idEmpresa) + " = " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) +
" FROM " + nameof(EPD_Materias) +
" WHERE " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.fechaBorrado) + " IS null AND " +
nameof(EPD_Materias) + "." + nameof(EPD_Materias.id) + "=@id ";
//..............................................................
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@id", _lng_id)
};
//Rellenar el Modelo
g_dnm_Modelo_Obtener = obj_Exferia_Entities.Database.SqlQuery<INTERNO_MantenimientoSimple_Modelo>(str_SQL, arr_Parametros).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return g_dnm_Modelo_Obtener;
}
public override dynamic Obtener_Registro_PorCampo(string _str_Filtro, string _str_CampoBusqueda, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual)
{
throw new NotImplementedException();
}
#endregion
#region MODELOS
#region Modelo Simple
private EPD_Materias g_mdl_EPD_Materias = null;
public EPD_Materias Obtener_Modelo_Por_Id(long _lng_id)
{
try
{
string str_SQL = Obtener_Consulta_Modelo() +
//WHERE
" WHERE " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.id) + "=" + _lng_id;
//Ejecutar y rellenar el modelo
Ejecutar_Consulta_Modelo(str_SQL);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_Modelo_Por_Id), true);
}
return g_mdl_EPD_Materias;
}
private void Ejecutar_Consulta_Modelo(string _str_SQL)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el Modelo
g_mdl_EPD_Materias = obj_Exferia_Entities.Database.SqlQuery<EPD_Materias>(_str_SQL).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Ejecutar_Consulta_Modelo), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#region Modelo Listado
private List<EPD_Materias> g_lst_EPD_Materias = null;
public List<EPD_Materias> Obtener_ModeloListado()
{
try
{
string str_SQL = Obtener_Consulta_Modelo() +
//WHERE
" WHERE " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.fechaBorrado) + " IS NULL ";
//Ejecutar y rellenar el listado
Ejecutar_Consulta_Modelo_Listado(str_SQL,
new object[]{});
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_ModeloListado), true);
}
return g_lst_EPD_Materias;
}
public List<EPD_Materias> Obtener_ModeloListado_Por_IdEmpresa(long _lng_idEmpresa)
{
try
{
string str_SQL = Obtener_Consulta_Modelo() +
//WHERE
" WHERE " + nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + "=@idEmpresa";
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@idEmpresa", _lng_idEmpresa)
};
//Ejecutar y rellenar el listado
Ejecutar_Consulta_Modelo_Listado(str_SQL,
arr_Parametros);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_ModeloListado_Por_IdEmpresa), true);
}
return g_lst_EPD_Materias;
}
public List<EPD_Materias> Obtener_ModeloListado_Por_Ids(List<long> _lst_Ids)
{
try
{
if (_lst_Ids != null && _lst_Ids.Count > 0)
{
string str_Filtros_IDS = Funciones.Formar_ContenidoIN_ParaConsultaWhere(nameof(EPD_Materias),
nameof(EPD_Materias.id),
G_ENUM_FORMARCONTENIDOIN_CONDICIONANTES.NADA,
_lst_Ids);
//Consulta
string str_SQL = Obtener_Consulta_Modelo() +
" WHERE " +
str_Filtros_IDS;
//Ejecutar y rellenar el listado
Ejecutar_Consulta_Modelo_Listado(str_SQL,
new object[] { });
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Obtener_ModeloListado_Por_Ids), true);
}
return g_lst_EPD_Materias;
}
#region Ejecutar Consulta
private void Ejecutar_Consulta_Modelo_Listado(string _str_SQL,
object[] _arr_Parametros)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el modelo
g_lst_EPD_Materias = obj_Exferia_Entities.Database.SqlQuery<EPD_Materias>(_str_SQL, _arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Ejecutar_Consulta_Modelo_Listado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#endregion
private string Obtener_Consulta_Modelo()
{
return
" SELECT " +
nameof(EPD_Materias) + "." + nameof(EPD_Materias.id) + " , " +
nameof(EPD_Materias) + "." + nameof(EPD_Materias.codigo) + " , " +
nameof(EPD_Materias) + "." + nameof(EPD_Materias.descripcion) + " , " +
nameof(EPD_Materias) + "." + nameof(EPD_Materias.idEmpresa) + " , " +
nameof(EPD_Materias) + "." + nameof(EPD_Materias.fechaBorrado) +
" FROM " + nameof(EPD_Materias);
}
#endregion
#region Grabar
public override INTERNO_ValorDevuelto_Modelo Grabar(object _mdl_obj)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
INTERNO_MantenimientoSimple_Modelo mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar = (INTERNO_MantenimientoSimple_Modelo)_mdl_obj;
EPD_Materias mdl_EPD_Materias_DatosViejos = new EPD_Materias();
// Ver si existe ######################################################################
EPD_Materias mdl_EPD_Materias_Final = Obtener_Modelo_Por_Id(mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.id);
//######################################################################################
//UPDATE
if (mdl_EPD_Materias_Final != null)
{
//Tipo de Accion que se va a realizar
mdl_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_MODIFICAR;
//Datos viejos para la trazabilidad
Funciones.CopiarPropiedadesObjetos(mdl_EPD_Materias_Final, mdl_EPD_Materias_DatosViejos, false, false);
//Cargar los Datos del Modelo
Cargar_DatosModelo(mdl_EPD_Materias_Final, mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar);
#region UPDATE
string str_SQL_Update = " UPDATE " + nameof(EPD_Materias) +
" SET " +
nameof(EPD_Materias.codigo) + "=@codigo," +
nameof(EPD_Materias.descripcion) + "=@descripcion," +
nameof(EPD_Materias.idEmpresa) + "=@idEmpresa," +
nameof(EPD_Materias.fechaBorrado) + "=@fechaBorrado " +
" WHERE " +
nameof(EPD_Materias.id) + "=@id";
//Parametros
object[] arr_Parametros_Update = new object[]
{
new SqlParameter("@codigo", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.codigo),
new SqlParameter("@descripcion", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.descripcion),
new SqlParameter("@idEmpresa", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.idEmpresa),
mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.fechaBorrado!=null
? new SqlParameter("@fechaBorrado", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.fechaBorrado.Value)
: new SqlParameter("@fechaBorrado", DBNull.Value),
new SqlParameter("@id", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.id)
};
#endregion
//Update
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Update, arr_Parametros_Update);
//Id de la tabla
mdl_ValorDevuelto_Modelo.Id = mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.id;
}
//INSERT
else
{
mdl_EPD_Materias_Final = new EPD_Materias();
//Tipo de Accion que se va a realizar
mdl_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_INSERTAR;
//Cargar los Datos del Modelo
Cargar_DatosModelo(mdl_EPD_Materias_Final, mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar);
#region INSERT
string str_SQL_Insert = " INSERT INTO " + nameof(EPD_Materias) +
" (" +
nameof(EPD_Materias.codigo) + "," +
nameof(EPD_Materias.descripcion) + "," +
nameof(EPD_Materias.idEmpresa) + "," +
nameof(EPD_Materias.fechaBorrado) +
" ) " +
" OUTPUT INSERTED." + nameof(EPD_Materias.id) +
" VALUES " +
" ( " +
"@codigo," +
"@descripcion," +
"@idEmpresa," +
"@fechaBorrado" +
" ) ";
//Parametros
object[] arr_Parametros_Insert = new object[]
{
new SqlParameter("@codigo", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.codigo),
new SqlParameter("@descripcion", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.descripcion),
new SqlParameter("@idEmpresa", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.idEmpresa),
mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.fechaBorrado!=null
? new SqlParameter("@fechaBorrado", mdl_INTERNO_MantenimientoSimple_Modelo_AGrabar.fechaBorrado.Value)
: new SqlParameter("@fechaBorrado", DBNull.Value)
};
#endregion
//Id de la tabla
mdl_ValorDevuelto_Modelo.Id = obj_Exferia_Entities.Database.SqlQuery<long>(str_SQL_Insert, arr_Parametros_Insert).Single();
}
// Grabar un registro de trazabilidad con los datos de la transaccion realizada.
Datos_Generales.USR_Trazabilidad_Grabar(typeof(EPD_Materias), mdl_EPD_Materias_DatosViejos, mdl_EPD_Materias_Final, mdl_ValorDevuelto_Modelo.TipoAccion, obj_Exferia_Entities);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Grabar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_ValorDevuelto_Modelo;
}
private void Cargar_DatosModelo(EPD_Materias _mdl_EPD_Materias, INTERNO_MantenimientoSimple_Modelo _mdl_INTERNO_MantenimientoSimple_Modelo)
{
// Cargar los Datos Nuevos del Modelo
_mdl_EPD_Materias.id = _mdl_INTERNO_MantenimientoSimple_Modelo.id;
_mdl_EPD_Materias.codigo = _mdl_INTERNO_MantenimientoSimple_Modelo.codigo;
_mdl_EPD_Materias.descripcion = _mdl_INTERNO_MantenimientoSimple_Modelo.descripcion;
_mdl_EPD_Materias.idEmpresa = _mdl_INTERNO_MantenimientoSimple_Modelo.idEmpresa;
}
#endregion
#region Borrar
public override INTERNO_ValorDevuelto_Modelo Borrar(long _lng_id)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
//Tipo de Accion que se va a realizar
mdl_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_ELIMINAR;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Ver si existe ######################################################################
EPD_Materias mdl_EPD_Materias_Final = Obtener_Modelo_Por_Id(_lng_id);
//######################################################################################
if (mdl_EPD_Materias_Final != null)
{
#region UPDATE
string str_SQL_Update = " UPDATE " + nameof(EPD_Materias) +
" SET " +
nameof(EPD_Materias.fechaBorrado) + "=@fechaBorrado " +
" WHERE " +
nameof(EPD_Materias.id) + "=@id";
//Parametros
object[] arr_Parametros_Update = new object[]
{
new SqlParameter("@fechaBorrado", DateTime.Now),
new SqlParameter("@id", _lng_id)
};
#endregion
//Update
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Update, arr_Parametros_Update);
// Grabar un registro de trazabilidad con los datos de la transaccion realizada.
Datos_Generales.USR_Trazabilidad_Grabar(typeof(EPD_Materias), null, mdl_EPD_Materias_Final, G_ENUM_TIPOACCION.INT_ELIMINAR, obj_Exferia_Entities);
}
//Devolver tambien el Objeto
mdl_ValorDevuelto_Modelo.Id = _lng_id;
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Materias_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_ValorDevuelto_Modelo;
}
public override INTERNO_ValorDevuelto_Modelo Borrar(long _lng_id, long _lng_idAuxiliar)
{
throw new NotImplementedException();
}
public override INTERNO_ValorDevuelto_Modelo Borrar(object _mdl_obj)
{
return null;
}
#endregion
}
}

View File

@ -0,0 +1,662 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Herencia.Capas;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using static Exferia_Aplicacion.General.Enumerados;
namespace Exferia_Expedientes._1_Datos
{
public class EPD_ProcedimientosNotificaciones_Datos : ABS_Datos
{
#region Listado
public override List<dynamic> Obtener_Listado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
return null;
}
public override dynamic Obtener_RegistroListado(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo, long _lng_id, List<long> _lst_ids)
{
return null;
}
protected override void ConsultaRellenar_Listado(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionadas, List<string> _lst_CamposConRelacionABuscar, long _lng_id, List<long> _lst_ids, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
}
#endregion
#region Listado Secundario
public override List<dynamic> Obtener_Listado_Secundario(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
return null;
}
public override dynamic Obtener_RegistroListado_Secundario(long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<string> _lst_CamposConRelacionABuscar, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo, long _lng_id, List<long> _lst_ids)
{
return null;
}
protected override void ConsultaRellenar_Listado_Secundario(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionadas, List<string> _lst_CamposConRelacionABuscar, long _lng_id, List<long> _lst_ids, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{ }
#endregion
#region F3
public override dynamic Obtener_F3(string _str_filtro, string _str_CampoBusqueda, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
return null;
}
public override dynamic Obtener_F3_PorId(long _lng_id, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
return null;
}
protected override void ConsultaRellenar_F3(Exferia_Entities _obj_Exferia_Entities, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual, List<long> _lst_idEmpresasRelacionas, string _str_CampoBusqueda, string _str_Filtro, long _lng_id, List<INTERNO_Filtro_OpcionPadre_Modelo> _lst_INTERNO_Filtro_OpcionPadre_Modelo, List<INTERNO_Filtro_Modelo> _lst_INTERNO_Filtro_Modelo)
{
}
#endregion
#region Obtener
#region Obtener Simple
private dynamic g_dnm_Modelo_Obtener = null;
public override dynamic Obtener(long _lng_id)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
string str_SQL =
" SELECT " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.id) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.idProcedimiento) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaRecepcion) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.observaciones) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) +
" FROM " + nameof(EPD_ProcedimientosNotificaciones) +
" WHERE " + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) + " IS null AND " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.id) + "=@id ";
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@id", _lng_id)
};
//Rellenar el Modelo
g_dnm_Modelo_Obtener = obj_Exferia_Entities.Database.SqlQuery<EPD_ProcedimientosNotificaciones>(str_SQL, arr_Parametros).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Obtener), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return g_dnm_Modelo_Obtener;
}
#endregion
public override dynamic Obtener_Registro_PorCampo(string _str_Filtro, string _str_CampoBusqueda, long _lng_idEmpresaSeleccionada, long _lng_idEjercicioActual)
{
throw new NotImplementedException();
}
#region Para Listado
#region Simple
private INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo g_mdl_INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo_PARALISTADO = null;
public INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo Obtener_Registro_Para_Listado_Por_Id(long _lng_id)
{
g_mdl_INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo_PARALISTADO = null;
try
{
string str_SQL = Obtener_Consulta_Para_Listado() +
" WHERE " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) + " is null AND " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.id) + " =@id ";
//where
List<SqlParameter> lst_Parametros = new List<SqlParameter>();
lst_Parametros.Add(new SqlParameter("@id", _lng_id));
//Parametros
object[] arr_Parametros = lst_Parametros.ToArray();
//Ejecutar
Ejecutar_Consulta_Modelo_ParaListado(str_SQL, arr_Parametros);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Obtener_Registro_Para_Listado_Por_Id), true);
}
return g_mdl_INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo_PARALISTADO;
}
#region Ejecutar Consulta Modelo Para Listado
private void Ejecutar_Consulta_Modelo_ParaListado(string _str_SQL,
object[] _arr_Parametros)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el Modelo
g_mdl_INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo_PARALISTADO = obj_Exferia_Entities.Database.SqlQuery<INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo>(_str_SQL, _arr_Parametros).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Ejecutar_Consulta_Modelo_ParaListado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#endregion
#region Listado
private List<INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo> g_lst_INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo_PARALISTADO = null;
public List<INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo> Obtener_Registros_Para_Listado_Por_Procedimiento(long _lng_idProcedimiento)
{
try
{
string str_SQL = Obtener_Consulta_Para_Listado() +
" WHERE " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) + " is null and " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.idProcedimiento) + "=@idProcedimiento ";
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@idProcedimiento", _lng_idProcedimiento)
};
Ejecutar_Consulta_Modelo_Listado_PARALISTADO(str_SQL,
arr_Parametros);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Obtener_Registros_Para_Listado_Por_Procedimiento), true);
}
return g_lst_INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo_PARALISTADO;
}
#region Ejecutar Consulta
private void Ejecutar_Consulta_Modelo_Listado_PARALISTADO(string _str_SQL,
object[] _arr_Parametros)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el Modelo
g_lst_INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo_PARALISTADO = obj_Exferia_Entities.Database.SqlQuery<INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo>(_str_SQL, _arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Ejecutar_Consulta_Modelo_Listado_PARALISTADO), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#endregion
private string Obtener_Consulta_Para_Listado()
{
return
" SELECT " +
nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.id) + "=" + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.id) + "," +
//IDS
nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.idProcedimiento) + "=" + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.idProcedimiento) + "," +
//Otros
nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.fechaRecepcion) + "=" + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaRecepcion) + "," +
nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.observaciones) + "=" + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.observaciones) + "," +
nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.fechaBorrado) + "=" + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) +
" FROM " + nameof(EPD_ProcedimientosNotificaciones);
}
#endregion
#endregion
#region MODELOS
#region Modelo Simple
private EPD_ProcedimientosNotificaciones g_mdl_EPD_ProcedimientosNotificaciones = null;
public EPD_ProcedimientosNotificaciones Obtener_Modelo_Por_Id(long _lng_id)
{
try
{
string str_SQL = Obtener_Consulta_Modelo() +
//WHERE
" WHERE " + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.id) + "=@id";
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@id", _lng_id)
};
//Ejecutar y rellenar el modelo
Ejecutar_Consulta_Modelo(str_SQL,
arr_Parametros);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Obtener_Modelo_Por_Id), true);
}
return g_mdl_EPD_ProcedimientosNotificaciones;
}
#region Ejecutar Consulta
private void Ejecutar_Consulta_Modelo(string _str_SQL,
object[] _arr_Parametros)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el Modelo
g_mdl_EPD_ProcedimientosNotificaciones = obj_Exferia_Entities.Database.SqlQuery<EPD_ProcedimientosNotificaciones>(_str_SQL, _arr_Parametros).FirstOrDefault();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones) + "/" + nameof(Ejecutar_Consulta_Modelo), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#endregion
#region Modelo Listado
private List<EPD_ProcedimientosNotificaciones> g_lst_EPD_ProcedimientosNotificaciones = null;
public List<EPD_ProcedimientosNotificaciones> Obtener_ModeloListado_Por_IdProcedimiento(long _lng_idProcedimiento)
{
try
{
//Consulta
string str_SQL = Obtener_Consulta_Modelo() +
//WHERE
" WHERE " + nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.idProcedimiento) + "=@idProcedimiento";
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@idProcedimiento", _lng_idProcedimiento)
};
//Ejecutar y rellenar el listado
Ejecutar_Consulta_Modelo_Listado(str_SQL,
arr_Parametros);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Obtener_ModeloListado_Por_IdProcedimiento), true);
}
return g_lst_EPD_ProcedimientosNotificaciones;
}
#region Ejecutar Consulta
private void Ejecutar_Consulta_Modelo_Listado(string _str_SQL,
object[] _arr_Parametros)
{
Exferia_Entities obj_Exferia_Entities = null;
try
{
//Conexion
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
//Rellenar el modelo
g_lst_EPD_ProcedimientosNotificaciones = obj_Exferia_Entities.Database.SqlQuery<EPD_ProcedimientosNotificaciones>(_str_SQL, _arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Ejecutar_Consulta_Modelo_Listado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
}
#endregion
#endregion
private string Obtener_Consulta_Modelo()
{
return
" SELECT " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.id) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.idProcedimiento) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaRecepcion) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.observaciones) + " , " +
nameof(EPD_ProcedimientosNotificaciones) + "." + nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) +
" FROM " + nameof(EPD_ProcedimientosNotificaciones);
}
#endregion
#region Grabar
public override INTERNO_ValorDevuelto_Modelo Grabar(object _mdl_obj)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
EPD_ProcedimientosNotificaciones mdl_EPD_ProcedimientosNotificaciones_AGrabar = (EPD_ProcedimientosNotificaciones)_mdl_obj;
EPD_ProcedimientosNotificaciones mdl_EPD_ProcedimientosNotificaciones_DatosViejos = new EPD_ProcedimientosNotificaciones();
// Ver si existe ######################################################################
EPD_ProcedimientosNotificaciones mdl_EPD_ProcedimientosNotificaciones_Final = Obtener_Modelo_Por_Id(mdl_EPD_ProcedimientosNotificaciones_AGrabar.id);
//######################################################################################
//UPDATE
if (mdl_EPD_ProcedimientosNotificaciones_Final != null)
{
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_MODIFICAR;
//Datos viejos para la trazabilidad
Funciones.CopiarPropiedadesObjetos(mdl_EPD_ProcedimientosNotificaciones_Final, mdl_EPD_ProcedimientosNotificaciones_DatosViejos, false, false);
// Cargar los Datos Nuevos del Modelo
Funciones.CopiarPropiedadesObjetos(mdl_EPD_ProcedimientosNotificaciones_AGrabar, mdl_EPD_ProcedimientosNotificaciones_Final, false, false);
#region UPDATE
string str_SQL_Update = " UPDATE " + nameof(EPD_ProcedimientosNotificaciones) +
" SET " +
nameof(EPD_ProcedimientosNotificaciones.idProcedimiento) + "=@idProcedimiento," +
nameof(EPD_ProcedimientosNotificaciones.fechaRecepcion) + "=@fechaRecepcion," +
nameof(EPD_ProcedimientosNotificaciones.observaciones) + "=@observaciones," +
nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) + "=@fechaBorrado" +
" WHERE " +
nameof(EPD_ProcedimientosNotificaciones.id) + "=@id";
//Parametros
object[] arr_Parametros_Update = new object[]
{
new SqlParameter("@idProcedimiento", mdl_EPD_ProcedimientosNotificaciones_AGrabar.idProcedimiento),
new SqlParameter("@fechaRecepcion", mdl_EPD_ProcedimientosNotificaciones_AGrabar.fechaRecepcion),
new SqlParameter("@observaciones", mdl_EPD_ProcedimientosNotificaciones_AGrabar.observaciones),
mdl_EPD_ProcedimientosNotificaciones_AGrabar.fechaBorrado!=null
? new SqlParameter("@fechaBorrado", mdl_EPD_ProcedimientosNotificaciones_AGrabar.fechaBorrado.Value)
: new SqlParameter("@fechaBorrado", DBNull.Value),
new SqlParameter("@id", mdl_EPD_ProcedimientosNotificaciones_AGrabar.id)
};
#endregion
//Update
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Update, arr_Parametros_Update);
//Id de la tabla
mdl_INTERNO_ValorDevuelto_Modelo.Id = mdl_EPD_ProcedimientosNotificaciones_AGrabar.id;
}
//INSERT
else
{
mdl_EPD_ProcedimientosNotificaciones_Final = new EPD_ProcedimientosNotificaciones();
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_INSERTAR;
// Cargar los Datos del Modelo
Funciones.CopiarPropiedadesObjetos(mdl_EPD_ProcedimientosNotificaciones_AGrabar, mdl_EPD_ProcedimientosNotificaciones_Final, false, false);
#region INSERT
string str_SQL_Insert = " INSERT INTO " + nameof(EPD_ProcedimientosNotificaciones) +
" (" +
nameof(EPD_ProcedimientosNotificaciones.idProcedimiento) + "," +
nameof(EPD_ProcedimientosNotificaciones.fechaRecepcion) + "," +
nameof(EPD_ProcedimientosNotificaciones.observaciones) + "," +
nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) +
" ) " +
" OUTPUT INSERTED." + nameof(EPD_ProcedimientosNotificaciones.id) +
" VALUES " +
" ( " +
"@idProcedimiento," +
"@fechaRecepcion," +
"@observaciones," +
"@fechaBorrado" +
" ) ";
//Parametros
object[] arr_Parametros_Insert = new object[]
{
new SqlParameter("@idProcedimiento", mdl_EPD_ProcedimientosNotificaciones_AGrabar.idProcedimiento),
new SqlParameter("@fechaRecepcion", mdl_EPD_ProcedimientosNotificaciones_AGrabar.fechaRecepcion),
new SqlParameter("@observaciones", mdl_EPD_ProcedimientosNotificaciones_AGrabar.observaciones),
mdl_EPD_ProcedimientosNotificaciones_AGrabar.fechaBorrado!=null
? new SqlParameter("@fechaBorrado", mdl_EPD_ProcedimientosNotificaciones_AGrabar.fechaBorrado.Value)
: new SqlParameter("@fechaBorrado", DBNull.Value)
};
#endregion
//Id de la tabla
mdl_INTERNO_ValorDevuelto_Modelo.Id = obj_Exferia_Entities.Database.SqlQuery<long>(str_SQL_Insert, arr_Parametros_Insert).Single();
}
// Grabar un registro de trazabilidad con los datos de la transaccion realizada.
Datos_Generales.USR_Trazabilidad_Grabar(typeof(EPD_ProcedimientosNotificaciones), mdl_EPD_ProcedimientosNotificaciones_DatosViejos, mdl_EPD_ProcedimientosNotificaciones_Final, mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion, obj_Exferia_Entities);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Grabar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Borrar
public override INTERNO_ValorDevuelto_Modelo Borrar(long _lng_id)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
//Tipo de Accion que se va a realizar
mdl_ValorDevuelto_Modelo.TipoAccion = G_ENUM_TIPOACCION.INT_ELIMINAR;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Ver si existe ######################################################################
EPD_ProcedimientosNotificaciones mdl_EPD_ProcedimientosNotificaciones_Final = Obtener_Modelo_Por_Id(_lng_id);
//######################################################################################
if (mdl_EPD_ProcedimientosNotificaciones_Final != null)
{
#region UPDATE
string str_SQL_Update = " UPDATE " + nameof(EPD_ProcedimientosNotificaciones) +
" SET " +
nameof(EPD_ProcedimientosNotificaciones.fechaBorrado) + "=@fechaBorrado " +
" WHERE " +
nameof(EPD_ProcedimientosNotificaciones.id) + "=@id";
//Parametros
object[] arr_Parametros_Update = new object[]
{
new SqlParameter("@fechaBorrado", DateTime.Now),
new SqlParameter("@id", _lng_id)
};
#endregion
//Update
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Update, arr_Parametros_Update);
// Grabar un registro de trazabilidad con los datos de la transaccion realizada.
Datos_Generales.USR_Trazabilidad_Grabar(typeof(EPD_ProcedimientosNotificaciones), null, mdl_EPD_ProcedimientosNotificaciones_Final, G_ENUM_TIPOACCION.INT_ELIMINAR, obj_Exferia_Entities);
}
// Devolver también el Objeto
mdl_ValorDevuelto_Modelo.Id = _lng_id;
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_ValorDevuelto_Modelo;
}
public override INTERNO_ValorDevuelto_Modelo Borrar(long _lng_id, long _lng_idAuxiliar)
{
throw new NotImplementedException();
}
public override INTERNO_ValorDevuelto_Modelo Borrar(object _mdl_obj)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
List<long> lst_idNotificaciones = (List<long>)_mdl_obj;
if (lst_idNotificaciones != null & lst_idNotificaciones.Count > 0)
{
string str_Filtro_Notificaciones = Funciones.Formar_ContenidoIN_ParaConsultaWhere(lst_idNotificaciones);
//Lineas
string str_SQL = " DELETE FROM " + nameof(EPD_ProcedimientosNotificaciones) +
" WHERE " + nameof(EPD_ProcedimientosNotificaciones.id) + " in (" + str_Filtro_Notificaciones + ")";
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL);
}
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_ProcedimientosNotificaciones_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
}
}

View File

@ -0,0 +1,193 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._1_Datos
{
public class EPD_Procedimientos_Actores_Datos
{
#region Obtener
public List<long> Obtener_Listado(long _lng_idProcedimiento)
{
Exferia_Entities obj_Exferia_Entities = null;
List<long> lst_idActor = new List<long>();
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
// Consulta .........................................................
string str_SQL =
" SELECT " +
nameof(EPD_Procedimientos_Actores) + "." + nameof(EPD_Procedimientos_Actores.idActor) +
" FROM " + nameof(EPD_Procedimientos_Actores) +
" WHERE " + nameof(EPD_Procedimientos_Actores.idProcedimiento) + "=@idProcedimiento ";
// .....................................................................
//Parametros
object[] arr_Parametros = new object[]
{
new SqlParameter("@idProcedimiento", _lng_idProcedimiento)
};
//Rellenar el Modelo
lst_idActor = obj_Exferia_Entities.Database.SqlQuery<long>(str_SQL, arr_Parametros).ToList();
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Procedimientos_Actores_Datos) + "/" + nameof(Obtener_Listado), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return lst_idActor;
}
#endregion
#region Grabar
public INTERNO_ValorDevuelto_Modelo Insertar(EPD_Procedimientos_Actores _mdl_EPD_Procedimientos_Actores)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.ProxyCreationEnabled = true;
string str_SQL_Insertar = " INSERT INTO " + nameof(EPD_Procedimientos_Actores) + " (" + nameof(EPD_Procedimientos_Actores.idProcedimiento) + "," + nameof(EPD_Procedimientos_Actores.idActor) + "," + nameof(EPD_Procedimientos_Actores.observaciones) + ") values (" + _mdl_EPD_Procedimientos_Actores.idProcedimiento + "," + _mdl_EPD_Procedimientos_Actores.idActor + ",'')";
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Insertar);
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Procedimientos_Actores_Datos) + "/" + nameof(Insertar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_ValorDevuelto_Modelo;
}
#endregion
#region Borrar
public INTERNO_ValorDevuelto_Modelo Borrar(long _lng_idProcedimiento, long _lng_idActor)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = Enumerados.G_ENUM_TIPOACCION.INT_ELIMINAR;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
string str_SQL_Delete = " DELETE FROM " + nameof(EPD_Procedimientos_Actores) +
" WHERE " +
nameof(EPD_Procedimientos_Actores.idProcedimiento) + "=@idProcedimiento AND " +
nameof(EPD_Procedimientos_Actores.idActor) + "=@idActor ";
//Parametros
object[] arr_Parametros_Delete = new object[]
{
new SqlParameter("@idProcedimiento", _lng_idProcedimiento),
new SqlParameter("@idActor", _lng_idActor)
};
//Delete
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Delete, arr_Parametros_Delete);
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Procedimientos_Actores_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
public INTERNO_ValorDevuelto_Modelo Borrar(long _lng_idProcedimiento, List<long> _lst_idActor)
{
Exferia_Entities obj_Exferia_Entities = null;
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
//Tipo de Accion que se va a realizar
mdl_INTERNO_ValorDevuelto_Modelo.TipoAccion = Enumerados.G_ENUM_TIPOACCION.INT_ELIMINAR;
try
{
obj_Exferia_Entities = new Exferia_Entities();
obj_Exferia_Entities.Configuration.LazyLoadingEnabled = false;
foreach (long lng_idActor in _lst_idActor)
{
string str_SQL_Delete = " DELETE FROM " + nameof(EPD_Procedimientos_Actores) +
" WHERE " +
nameof(EPD_Procedimientos_Actores.idProcedimiento) + "=@idProcedimiento AND " +
nameof(EPD_Procedimientos_Actores.idActor) + "=@idActor ";
//Parametros
object[] arr_Parametros_Delete = new object[]
{
new SqlParameter("@idProcedimiento", _lng_idProcedimiento),
new SqlParameter("@idActor", lng_idActor)
};
//Delete
obj_Exferia_Entities.Database.ExecuteSqlCommand(str_SQL_Delete, arr_Parametros_Delete);
}
}
catch (Control_Errores)
{
throw;
}
catch (Exception ex)
{
throw new Control_Errores("", ex, nameof(EPD_Procedimientos_Actores_Datos) + "/" + nameof(Borrar), true);
}
finally
{
obj_Exferia_Entities.Database.Connection.Close();
obj_Exferia_Entities.Dispose();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,816 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using Exferia_Expedientes._1_Datos;
using Exferia_Formularios;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Exferia_Expedientes._3_Vistas.Controladoras
{
public class P_Asesor_Controladora
{
#region Variables Generales
private P_Asesor g_frm_P_Asesor = null;//Variable que enlaza con la pantalla asociada
private PE_Esperando g_frm_PE_Esperando;//Pantalla de Espera, para cuando se ejecutan tareas pesadas como cargar, guardar, etc
//Clases de Negocio Necesarias para la carga de datos
private EPD_Asesores_Datos g_obj_EPD_Asesores_Datos = new EPD_Asesores_Datos();
public EPD_Asesores g_mdl_EPD_Asesores = null;//Modelo de los datos del asesor, cargados
public bool g_bol_Termino_CargaDatos_Inicial = false;//Se utiliza para saber cuando se termina la carga de datos estaticos inciales
//Tareea Asincrona de carga de datos
private BackgroundWorker g_obj_TareaAsincrona_CargarDatos;
//Tareea Asincrona de grabar de datos
private BackgroundWorker g_obj_TareaAsincrona_GrabarDatos;
private bool g_bol_GrabarDatos_TerminoCorrectamente = true;
private bool g_bol_GrabarDatos_VolverListado = true;
//Tareea Asincrona de borrar de datos
private BackgroundWorker g_obj_TareaAsincrona_BorrarDatos;
private bool g_bol_BorrarDatos_VolverListado = true;
public bool g_bol_CampoCodigo_Numerico = false;
#endregion
#region Constructor
public P_Asesor_Controladora(P_Asesor _frm_P_Asesor)
{
g_frm_P_Asesor = _frm_P_Asesor;
g_bol_Termino_CargaDatos_Inicial = true;
}
#endregion
#region Vaciar datos
public void VaciarDatos()
{
//codigo
g_frm_P_Asesor.Exferia_TextBox_Codigo.Text = "";
//nombre
g_frm_P_Asesor.Exferia_TextBox_Nombre.Text = "";
//Empleado
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Id = -1;
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Codigo = "";
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Descripcion = "";
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_FechaBorrado = null;
//fecha alta
g_frm_P_Asesor.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha = "";
//fecha baja
g_frm_P_Asesor.Exferia_FechaSeleccion_Baja.Exferia_FechaSeleccion_Fecha = "";
string[] str_Separador = new string[] { " [" };
//Si ya hay valores de objeto, los elimino para rellenarlos de nuevo
if (g_frm_P_Asesor.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1)
{
g_frm_P_Asesor.P_Base_TituloPantalla = (g_frm_P_Asesor.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0];
}
//Actualizar el Boton de Seleccion de pantalla ####################################################
Variables.G_EMS_CONTROL_MENUSUPERIOR.Update_Texto_NombrePantalla(g_frm_P_Asesor.Tag.ToString());
//#################################################################################################
g_mdl_EPD_Asesores = null;
}
#endregion
#region Buscar Codigo Siguiente
public INTERNO_ValorDevuelto_Modelo Buscar_CodigoSiguiente()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
string str_CodigoSiguiente = Datos_Generales.Buscar_CodigoSiguiente(nameof(EPD_Asesores),
nameof(EPD_Asesores.codigo),
nameof(EPD_Asesores.idEmpresa),
g_mdl_EPD_Asesores != null ? g_mdl_EPD_Asesores.idEmpresa : Datos_Generales.GEN_Empresas_Devolver_IdEmpresa_AGrabar(g_frm_P_Asesor.P_Base_ValoresGenerales.lng_idEmpresa, nameof(EPD_Asesores)),
true,
g_frm_P_Asesor.Exferia_TextBox_Codigo.Exferia_TextBox_MaxLength);
if (!str_CodigoSiguiente.Equals("-1"))
{
g_frm_P_Asesor.Exferia_TextBox_Codigo.Text = str_CodigoSiguiente;
}
else
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_CODIGOSIGUIENTE_LIMITEALCANZADO(g_frm_P_Asesor.Exferia_Label_Codigo.Text);
}
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BUSCARCODIGOSIGUIENTE();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(Buscar_CodigoSiguiente));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BUSCARCODIGOSIGUIENTE();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Comprobacion de cambios, para grabar o no antes de salir o cambiar de registro
public bool ComprobarCambios()
{
if (g_frm_P_Asesor.P_Base_SeModificoDatosPantalla)
{
if (Mensajes.MostrarMensaje_Pregunta(Mensajes.G_STR_MENSAJES_GENERAL_PREGUNTA_GUARDARCAMBIOS()))
{
GrabarDatos(false);
//Te quedas espernado a que termine la tarea asincrona de grabar
while (g_obj_TareaAsincrona_GrabarDatos.IsBusy)
Application.DoEvents();
return g_bol_GrabarDatos_TerminoCorrectamente;
}
}
return true;
}
#endregion
#region Cargar Datos
public void RecargarDatos()
{
try
{
//Bloquear el formulario para que no se pueda hacer nada hasta que termine
g_frm_P_Asesor.Enabled = false;
//Mostrar la pantalla de espera
g_frm_PE_Esperando = new PE_Esperando();
// Si la tarea asincrona esta en marcha la paro
if (g_obj_TareaAsincrona_CargarDatos != null)
{
while (g_obj_TareaAsincrona_CargarDatos.IsBusy)
Application.DoEvents();
//Vaciar
VaciarDatos();
}
else
{
g_obj_TareaAsincrona_CargarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_CargarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_CargarDatos_DoWork);
g_obj_TareaAsincrona_CargarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_CargarDatos_Completed);
g_obj_TareaAsincrona_CargarDatos.WorkerReportsProgress = false;
}
//(Tarea Asincrona) Cargar Datos ##################################################################
g_obj_TareaAsincrona_CargarDatos.RunWorkerAsync();
//#################################################################################################
g_frm_PE_Esperando.ShowDialog();
}
catch (Exception ex)
{
g_frm_P_Asesor.Enabled = true;
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
throw new Control_Errores(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA(), ex, nameof(P_Asesor_Controladora) + "/" + nameof(RecargarDatos), true);
}
}
private void TareaAsincrona_CargarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
// Cargar Valores
if (CargarDatos(g_frm_P_Asesor.P_Base_id) == false)
{
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_DoWork));
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_DoWork));
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
finally
{
e.Result = mdl_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_CargarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
//Desbloquear el Formulario
g_frm_P_Asesor.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
g_frm_P_Asesor.Salir_P_Base();
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_Completed));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
g_frm_P_Asesor.Salir_P_Base();
}
finally
{
//Hacemos foco al primer control.
g_frm_P_Asesor.Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
}
public bool CargarDatos(long _lng_id)
{
bool bol_ValorDevuelto = true;
try
{
g_mdl_EPD_Asesores = g_obj_EPD_Asesores_Datos.Obtener(_lng_id);
//Si no es Nulo Cargo lo Datos
if (g_mdl_EPD_Asesores != null)
{
//Paginador ................................................................................
if (g_frm_P_Asesor.P_Base_PantallaOrigen != null &&
g_frm_P_Asesor.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null &&
g_frm_P_Asesor.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0)
{
long lng_id_ParaPaginacion = g_mdl_EPD_Asesores.id;
int int_PaginaDelObjeto = g_frm_P_Asesor.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.IndexOf(g_frm_P_Asesor.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Where(n => n.ID.Equals(lng_id_ParaPaginacion)).FirstOrDefault());
g_frm_P_Asesor.g_obj_Funciones_Paginador.SetPaginaActual(int_PaginaDelObjeto);
// Asignando al paginador la pagina actual.
g_frm_P_Asesor.Exferia_Paginador_Asesor.PaginaActual = g_frm_P_Asesor.g_obj_Funciones_Paginador.GetPaginaActual();
}
//...........................................................................................
//codigo
g_frm_P_Asesor.Exferia_TextBox_Codigo.Text = g_mdl_EPD_Asesores.codigo;
//nombre
g_frm_P_Asesor.Exferia_TextBox_Nombre.Text = g_mdl_EPD_Asesores.nombre;
//fechaAlta
if (g_mdl_EPD_Asesores.fechaAlta != null)
{
g_frm_P_Asesor.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha = g_mdl_EPD_Asesores.fechaAlta.ToString("dd/MM/yyyy");
}
//fechaBaja
if (g_mdl_EPD_Asesores.fechaBaja != null)
{
g_frm_P_Asesor.Exferia_FechaSeleccion_Baja.Exferia_FechaSeleccion_Fecha = g_mdl_EPD_Asesores.fechaBaja.Value.ToString("dd/MM/yyyy");
}
//MAE_Empleados
if (g_mdl_EPD_Asesores.MAE_Empleados != null)
{
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Id = g_mdl_EPD_Asesores.MAE_Empleados.id;
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Codigo = g_mdl_EPD_Asesores.MAE_Empleados.codigo;
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Descripcion = g_mdl_EPD_Asesores.MAE_Empleados.nombre;
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_FechaBorrado = g_mdl_EPD_Asesores.MAE_Empleados.fechaBorrado;
}
// Mostrar Campo en el Titulo de mantenimiento
string str_MenuSuperior_Codigo = "";
if (g_frm_P_Asesor.g_mdl_PRV_OpcionesDetalle != null &&
g_frm_P_Asesor.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento != null &&
g_frm_P_Asesor.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento.Trim().Length > 0)
{
//Obtener el Array de Campos
string[] arr_Campos = g_frm_P_Asesor.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento.Split(new Char[] { ',' });
string str_ValorAMostrarFinal = "";
string[] str_Separador = new string[] { " [" };
//Si ya hay valores de objeto, los elimino para rellenarlos de nuevo
if (g_frm_P_Asesor.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1)
{
g_frm_P_Asesor.P_Base_TituloPantalla = (g_frm_P_Asesor.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0];
}
dynamic dnm_Objeto = g_mdl_EPD_Asesores;
foreach (string str_campo in arr_Campos)
{
var Valor = dnm_Objeto.GetType().GetProperty(str_campo).GetValue(dnm_Objeto, null);
if (Valor != null)
{
str_ValorAMostrarFinal += " " + Valor;
}
// codigo
if (str_campo.Equals(nameof(g_mdl_EPD_Asesores.codigo)))
{
str_MenuSuperior_Codigo = g_mdl_EPD_Asesores.codigo;
}
}
if (str_ValorAMostrarFinal != "")
{
g_frm_P_Asesor.P_Base_TituloPantalla += " [" + str_ValorAMostrarFinal + "] -Modificar";
}
}
//Actualizar el Boton de Seleccion de pantalla ####################################################
Variables.G_EMS_CONTROL_MENUSUPERIOR.Add_Texto_NombrePantalla_Descripciones(g_frm_P_Asesor.Tag.ToString(), str_MenuSuperior_Codigo);
//#################################################################################################
g_frm_P_Asesor.P_Base_SeModificoDatosPantalla = false;
}
}
catch (Control_Errores)
{
bol_ValorDevuelto = false;
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(CargarDatos));
bol_ValorDevuelto = false;
}
return bol_ValorDevuelto;
}
#endregion
#region Grabar Datos
public void GrabarDatos(bool _bol_VolverAlListado)
{
try
{
g_bol_GrabarDatos_VolverListado = _bol_VolverAlListado;
g_bol_GrabarDatos_TerminoCorrectamente = true;
g_frm_P_Asesor.Enabled = false;
g_frm_PE_Esperando = new PE_Esperando(Mensajes.G_STR_ESPERANDO_GRABANDODATOS());
g_obj_TareaAsincrona_GrabarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_GrabarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_GrabarDatos_DoWork);
g_obj_TareaAsincrona_GrabarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_GrabarDatos_Completed);
g_obj_TareaAsincrona_GrabarDatos.RunWorkerAsync();
g_frm_PE_Esperando.ShowDialog();
}
catch (Exception ex)
{
g_bol_GrabarDatos_TerminoCorrectamente = false;
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Asesor.Enabled = true;
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(GrabarDatos));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA());
}
}
private void TareaAsincrona_GrabarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
try
{
// Validar Primero
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_VALIDACION = ValidarDatos();
if (mdl_ValorDevuelto_Modelo_VALIDACION.TodoCorrecto)
{
mdl_INTERNO_ValorDevuelto_Modelo = GrabarDatos_Final();
}
else
{
mdl_INTERNO_ValorDevuelto_Modelo = mdl_ValorDevuelto_Modelo_VALIDACION;
}
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
finally
{
e.Result = mdl_INTERNO_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_GrabarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Asesor.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
if (mdl_ValorDevuelto_Modelo_Resultado.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
//Poner el Foco en el objeto que tuvoel problema en validar
if (mdl_ValorDevuelto_Modelo_Resultado.Objeto != null)
{
Funciones.Poner_Foco_Objeto(g_frm_P_Asesor, mdl_ValorDevuelto_Modelo_Resultado.Objeto);
}
}
g_bol_GrabarDatos_TerminoCorrectamente = false;
}
else
{
// Devolver al Listado el Row Añadido/Modificado
if (g_frm_P_Asesor.P_Base_PantallaOrigen != null)
{
g_frm_P_Asesor.P_Base_PantallaOrigen.P_Base_ActualizarRegistro(mdl_ValorDevuelto_Modelo_Resultado.Id, mdl_ValorDevuelto_Modelo_Resultado.TipoAccion);
}
if (g_bol_GrabarDatos_VolverListado)
{
g_frm_P_Asesor.P_Base_SeModificoDatosPantalla = false;
g_frm_P_Asesor.Salir_P_Base();
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_Completed));
}
}
public INTERNO_ValorDevuelto_Modelo ValidarDatos()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
//Si el codigo esta vacio y se intenta buscar el ultimo numerico y llego al limite de base de datos
if (g_frm_P_Asesor.Exferia_TextBox_Codigo.Text.Trim().Length == 0)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo_AUX = Buscar_CodigoSiguiente();
if (mdl_INTERNO_ValorDevuelto_Modelo_AUX.TodoCorrecto == false)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = mdl_INTERNO_ValorDevuelto_Modelo_AUX.Mensaje;
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_TextBox_Codigo;
}
}
// El codigo no puede estar Repetido
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
string str_Codigo = g_frm_P_Asesor.Exferia_TextBox_Codigo.Text.Trim();
if (g_bol_CampoCodigo_Numerico)
{
int int_Codigo = int.Parse(str_Codigo);
str_Codigo = int_Codigo.ToString();
}
if (Datos_Generales.Buscar_CodigoRepetido(nameof(EPD_Asesores), nameof(EPD_Asesores.codigo), str_Codigo, nameof(EPD_Asesores.id), (g_mdl_EPD_Asesores != null ? g_mdl_EPD_Asesores.id : -1), nameof(EPD_Asesores.idEmpresa), g_frm_P_Asesor.P_Base_ValoresGenerales.lng_idEmpresa, true))
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_REPETIDO(g_frm_P_Asesor.Exferia_Label_Codigo.Text);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_TextBox_Codigo;
}
}
// El nombre no puede estar vacío
if ((mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto) && (g_frm_P_Asesor.Exferia_TextBox_Nombre.Text.Trim().Length == 0))
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Asesor.Exferia_Label_Nombre.Text);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_TextBox_Nombre;
}
// El empleado no puede estar Vacio (Obligatorio)
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto && g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Codigo.Trim().Length == 0 &&
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Descripcion.Trim().Length == 0)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Titulo);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_PRINCIPAL_TextBox_Codigo;
}
// Si hay empleado validar que es Correcta
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto && (g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Codigo.Trim().Length != 0 ||
g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Descripcion.Trim().Length != 0) && g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Id == -1)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_F3_INCORRECTO(g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Titulo);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_PRINCIPAL_TextBox_Codigo;
}
// La fecha de alta no puede estar vacia y debe ser correcta
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
int int_fechaAlta_Respuesta = Funciones.Fecha_Validacion(g_frm_P_Asesor.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha.Trim(' ', '/'));
if (int_fechaAlta_Respuesta == 1)//Vacia
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Asesor.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Descripcion);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_FechaSeleccion_Alta;
}
else if (int_fechaAlta_Respuesta == 2)//Incorrecta
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_FECHA_INCORRECTA(g_frm_P_Asesor.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Descripcion);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_FechaSeleccion_Alta;
}
}
// La fecha de baja, si no esta vacio, debe ser correcta. (mensaje de vacio se queda vacio para que no controle el error)
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
int int_fechaAlta_Respuesta = Funciones.Fecha_Validacion(g_frm_P_Asesor.Exferia_FechaSeleccion_Baja.Exferia_FechaSeleccion_Fecha.Trim(' ', '/'));
if (int_fechaAlta_Respuesta == 2)//Incorrecta
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_FECHA_INCORRECTA(g_frm_P_Asesor.Exferia_FechaSeleccion_Baja.Exferia_FechaSeleccion_Descripcion);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Asesor.Exferia_FechaSeleccion_Baja;
}
}
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_VALIDARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(ValidarDatos));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_VALIDARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
private INTERNO_ValorDevuelto_Modelo GrabarDatos_Final()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
DateTime? dtt_fechaNula = null;
try
{
EPD_Asesores mdl_EPD_Asesores = new EPD_Asesores();
//id
mdl_EPD_Asesores.id = g_mdl_EPD_Asesores != null ? g_mdl_EPD_Asesores.id : -1;
//Asignar el idEmpresa...........................................................................................
if ((g_mdl_EPD_Asesores != null ? g_mdl_EPD_Asesores.idEmpresa : -1) != -1)
{
mdl_EPD_Asesores.idEmpresa = g_mdl_EPD_Asesores.idEmpresa;
}
else
{
//Buscar el idEmpresa que Corresponda
mdl_EPD_Asesores.idEmpresa = Datos_Generales.GEN_Empresas_Devolver_IdEmpresa_AGrabar(g_frm_P_Asesor.P_Base_ValoresGenerales.lng_idEmpresa, nameof(EPD_Asesores));
}
//codigo
mdl_EPD_Asesores.codigo = g_frm_P_Asesor.Exferia_TextBox_Codigo.Text.Trim();
//nombre
mdl_EPD_Asesores.nombre = g_frm_P_Asesor.Exferia_TextBox_Nombre.Text.Trim();
//idEmpleado
mdl_EPD_Asesores.idEmpleado = g_frm_P_Asesor.Exferia_F3_Empleado.Exferia_F3_Id;
//fechaAlta
mdl_EPD_Asesores.fechaAlta = DateTime.ParseExact(g_frm_P_Asesor.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha, "dd/MM/yyyy", CultureInfo.InvariantCulture);
//fechaBaja
mdl_EPD_Asesores.fechaBaja = g_frm_P_Asesor.Exferia_FechaSeleccion_Baja.Exferia_FechaSeleccion_Fecha.Trim(' ', '/') != "" ? DateTime.ParseExact(g_frm_P_Asesor.Exferia_FechaSeleccion_Baja.Exferia_FechaSeleccion_Fecha, "dd/MM/yyyy", CultureInfo.InvariantCulture) : dtt_fechaNula;
// Se graba el modelo ya relleno.
mdl_INTERNO_ValorDevuelto_Modelo = g_obj_EPD_Asesores_Datos.Grabar(mdl_EPD_Asesores);
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(GrabarDatos_Final));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Borrar Datos
public void BorrarDatos(bool _bol_VolverAlListado)
{
try
{
// Preguntar si esta Seguro de Borrar
if (Mensajes.MostrarMensaje_Pregunta(Mensajes.G_STR_MENSAJES_GENERAL_PREGUNTA_BORRAR()))
{
g_bol_BorrarDatos_VolverListado = _bol_VolverAlListado;
g_frm_P_Asesor.Enabled = false;
g_frm_PE_Esperando = new PE_Esperando(Mensajes.G_STR_ESPERANDO_BORRANDODATOS());
g_obj_TareaAsincrona_BorrarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_BorrarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_BorrarDatos_DoWork);
g_obj_TareaAsincrona_BorrarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_BorrarDatos_Completed);
g_obj_TareaAsincrona_BorrarDatos.RunWorkerAsync();
g_frm_PE_Esperando.ShowDialog();
}
}
catch (Exception ex)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Asesor.Enabled = true;
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(BorrarDatos));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA());
}
}
private void TareaAsincrona_BorrarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
//Borrar
mdl_INTERNO_ValorDevuelto_Modelo = BorrarDatos_Final();
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
finally
{
e.Result = mdl_INTERNO_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_BorrarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Asesor.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
if (mdl_ValorDevuelto_Modelo_Resultado.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
}
}
else
{
// Devolver al Listado el Row Borrar
if (g_frm_P_Asesor.P_Base_PantallaOrigen != null)
{
g_frm_P_Asesor.P_Base_PantallaOrigen.P_Base_ActualizarRegistro(mdl_ValorDevuelto_Modelo_Resultado.Id, mdl_ValorDevuelto_Modelo_Resultado.TipoAccion);
}
else if (g_frm_P_Asesor.P_Base_F3Origen != null)
{
g_frm_P_Asesor.P_Base_F3Origen.Exferia_F3_ActualizarRegistro(mdl_ValorDevuelto_Modelo_Resultado.Id, mdl_ValorDevuelto_Modelo_Resultado.TipoAccion);
}
if (g_bol_BorrarDatos_VolverListado)
{
g_frm_P_Asesor.P_Base_SeModificoDatosPantalla = false;
g_frm_P_Asesor.Salir_P_Base();
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_Completed));
}
}
private INTERNO_ValorDevuelto_Modelo BorrarDatos_Final()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
try
{
mdl_INTERNO_ValorDevuelto_Modelo = g_obj_EPD_Asesores_Datos.Borrar(g_mdl_EPD_Asesores != null ? g_mdl_EPD_Asesores.id : -1);
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Asesor_Controladora) + "/" + nameof(BorrarDatos_Final));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
}
}

View File

@ -0,0 +1,957 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Agenda;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_Expedientes._1_Datos;
using Exferia_Expedientes._3_Vistas.Listados;
using Exferia_Formularios;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Transactions;
using System.Windows.Forms;
using static Exferia_Aplicacion.General.Enumerados;
namespace Exferia_Expedientes._3_Vistas.Controladoras
{
public class P_Citacion_Controladora
{
#region Variables Generales
private P_Citacion g_frm_P_Citacion = null;//Variable que enlaza con la pantalla asociada
private PE_Esperando g_frm_PE_Esperando;//Pantalla de Espera, para cuando se ejecutan tareas pesadas como cargar, guardar, etc
//Clases de Negocio Necesarias para la carga de datos
private EPD_Citaciones_Datos g_obj_EPD_Citaciones_Datos = new EPD_Citaciones_Datos();
private EPD_Procedimientos_Datos g_obj_EPD_Procedimientos_Datos = new EPD_Procedimientos_Datos();
private EPD_Asesores_Datos g_obj_EPD_Asesores_Datos = new EPD_Asesores_Datos();
public EPD_Citaciones g_mdl_EPD_Citaciones = null;
public INTERNO_EPD_Procedimientos_Modelo g_mdl_INTERNO_EPD_Procedimientos_Modelo = null;
public bool g_bol_Termino_CargaDatos_Inicial = false;//Se utiliza para saber cuando se termina la carga de datos estaticos inciales
//Tareea Asincrona de carga de datos
private BackgroundWorker g_obj_TareaAsincrona_CargarDatos;
//Tareea Asincrona de grabar de datos
private BackgroundWorker g_obj_TareaAsincrona_GrabarDatos;
private bool g_bol_GrabarDatos_TerminoCorrectamente = true;
//Tareea Asincrona de borrar de datos
private BackgroundWorker g_obj_TareaAsincrona_BorrarDatos;
private bool g_bol_BorrarDatos_VolverListado = true;
public bool g_bol_CampoCodigo_Numerico = false;
#endregion
#region Constructor
public P_Citacion_Controladora(P_Citacion _frm_P_Citacion, INTERNO_EPD_Procedimientos_Modelo _mdl_INTERNO_EPD_Procedimientos_Modelo)
{
g_frm_P_Citacion = _frm_P_Citacion;
g_mdl_INTERNO_EPD_Procedimientos_Modelo = _mdl_INTERNO_EPD_Procedimientos_Modelo;
g_bol_Termino_CargaDatos_Inicial = true;
}
#endregion
#region Vaciar datos
public void VaciarDatos()
{
//codigo
g_frm_P_Citacion.Exferia_TextBox_Codigo.Text = "";
//Descripcion
g_frm_P_Citacion.Exferia_TextBox_Descripcion.Text = "";
//Fecha
g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha = "";
//Hora
g_frm_P_Citacion.Exferia_TextBox_ConMascara_Fecha_Hora.Text = "";
//Duracion
g_frm_P_Citacion.Exferia_TextBox_Duracion.Text = "";
//Procedimiento
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Id = -1;
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Codigo = "";
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Descripcion = "";
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_FechaBorrado = null;
//Asesor
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Id = -1;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Codigo = "";
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Descripcion = "";
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_FechaBorrado = null;
//Observaciones
g_frm_P_Citacion.Exferia_TextBox_Observaciones.Text = "";
string[] str_Separador = new string[] { " [" };
//Si ya hay valores de objeto, los elimino para rellenarlos de nuevo
if (g_frm_P_Citacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1)
{
g_frm_P_Citacion.P_Base_TituloPantalla = (g_frm_P_Citacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0];
}
//Actualizar el Boton de Seleccion de pantalla ####################################################
Variables.G_EMS_CONTROL_MENUSUPERIOR.Update_Texto_NombrePantalla(g_frm_P_Citacion.Tag.ToString());
//#################################################################################################
g_mdl_EPD_Citaciones = null;
}
#endregion
#region Buscar Codigo Siguiente
public INTERNO_ValorDevuelto_Modelo Buscar_CodigoSiguiente()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
string str_CodigoSiguiente = Datos_Generales.Buscar_CodigoSiguiente(nameof(EPD_Citaciones),
nameof(EPD_Citaciones.codigo),
nameof(EPD_Citaciones.idEmpresa),
g_mdl_EPD_Citaciones != null ? g_mdl_EPD_Citaciones.idEmpresa : Datos_Generales.GEN_Empresas_Devolver_IdEmpresa_AGrabar(g_frm_P_Citacion.P_Base_ValoresGenerales.lng_idEmpresa, nameof(EPD_Citaciones)),
true,
g_frm_P_Citacion.Exferia_TextBox_Codigo.Exferia_TextBox_MaxLength);
if (!str_CodigoSiguiente.Equals("-1"))
{
g_frm_P_Citacion.Exferia_TextBox_Codigo.Text = str_CodigoSiguiente;
}
else
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_CODIGOSIGUIENTE_LIMITEALCANZADO(g_frm_P_Citacion.Exferia_Label_Codigo.Text);
}
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BUSCARCODIGOSIGUIENTE();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(Buscar_CodigoSiguiente));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BUSCARCODIGOSIGUIENTE();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Comprobacion de cambios, para grabar o no antes de salir o cambiar de registro
public bool ComprobarCambios()
{
if (g_frm_P_Citacion.P_Base_SeModificoDatosPantalla)
{
if (Mensajes.MostrarMensaje_Pregunta(Mensajes.G_STR_MENSAJES_GENERAL_PREGUNTA_GUARDARCAMBIOS()))
{
GrabarDatos();
//Te quedas espernado a que termine la tarea asincrona de grabar
while (g_obj_TareaAsincrona_GrabarDatos.IsBusy)
Application.DoEvents();
return g_bol_GrabarDatos_TerminoCorrectamente;
}
}
return true;
}
public bool ComprobarCambios_SinPreguntar()
{
if (g_mdl_EPD_Citaciones == null || g_frm_P_Citacion.P_Base_SeModificoDatosPantalla)
{
GrabarDatos();
//Te quedas esperando a que termine la tarea asincrona de grabar
while (g_obj_TareaAsincrona_GrabarDatos.IsBusy)
Application.DoEvents();
}
return g_bol_GrabarDatos_TerminoCorrectamente;
}
#endregion
#region Cargar Datos
public void RecargarDatos()
{
try
{
//Bloquear el formulario para que no se pueda hacer nada hasta que termine
g_frm_P_Citacion.Enabled = false;
//Mostrar la pantalla de espera
g_frm_PE_Esperando = new PE_Esperando();
// Si la tarea asincrona esta en marcha la paro
if (g_obj_TareaAsincrona_CargarDatos != null)
{
while (g_obj_TareaAsincrona_CargarDatos.IsBusy)
Application.DoEvents();
//Vaciar
VaciarDatos();
}
else
{
g_obj_TareaAsincrona_CargarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_CargarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_CargarDatos_DoWork);
g_obj_TareaAsincrona_CargarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_CargarDatos_Completed);
g_obj_TareaAsincrona_CargarDatos.WorkerReportsProgress = false;
}
//(Tarea Asincrona) Cargar Datos ##################################################################
g_obj_TareaAsincrona_CargarDatos.RunWorkerAsync();
//#################################################################################################
g_frm_PE_Esperando.ShowDialog();
}
catch (Exception ex)
{
g_frm_P_Citacion.Enabled = true;
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
throw new Control_Errores(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA(), ex, nameof(P_Citacion_Controladora) + "/" + nameof(RecargarDatos), true);
}
}
private void TareaAsincrona_CargarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
// Cargar Valores
if (CargarDatos(g_frm_P_Citacion.P_Base_id) == false)
{
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_DoWork));
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_DoWork));
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
finally
{
e.Result = mdl_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_CargarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
//Desbloquear el Formulario
g_frm_P_Citacion.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
g_frm_P_Citacion.Salir_P_Base();
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_Completed));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
g_frm_P_Citacion.Salir_P_Base();
}
finally
{
//Hacemos foco al primer control.
g_frm_P_Citacion.Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
}
public bool CargarDatos(long _lng_id)
{
bool bol_ValorDevuelto = true;
try
{
g_mdl_EPD_Citaciones = g_obj_EPD_Citaciones_Datos.Obtener(_lng_id);
//Si no es Nulo Cargo lo Datos
if (g_mdl_EPD_Citaciones != null)
{
//Paginador ................................................................................
if (g_frm_P_Citacion.P_Base_PantallaOrigen != null &&
g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null &&
g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0)
{
long lng_id_ParaPaginacion = g_mdl_EPD_Citaciones.id;
int int_PaginaDelObjeto = g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.IndexOf(g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Where(n => n.ID.Equals(lng_id_ParaPaginacion)).FirstOrDefault());
g_frm_P_Citacion.g_obj_Funciones_Paginador.SetPaginaActual(int_PaginaDelObjeto);
// Asignando al paginador la pagina actual.
g_frm_P_Citacion.Exferia_Paginador_Citacion.PaginaActual = g_frm_P_Citacion.g_obj_Funciones_Paginador.GetPaginaActual();
}
//...........................................................................................
//codigo
g_frm_P_Citacion.Exferia_TextBox_Codigo.Text = g_mdl_EPD_Citaciones.codigo;
//descripcion
g_frm_P_Citacion.Exferia_TextBox_Descripcion.Text = g_mdl_EPD_Citaciones.descripcion;
//fecha
g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha = g_mdl_EPD_Citaciones.fechaHora.ToString("dd/MM/yyyy");
//Hora
g_frm_P_Citacion.Exferia_TextBox_ConMascara_Fecha_Hora.Text = g_mdl_EPD_Citaciones.fechaHora.ToString("HH\\:mm");
//duracion
g_frm_P_Citacion.Exferia_TextBox_Duracion.Text = g_mdl_EPD_Citaciones.duracion.ToString();
//EPD_Procedimientos
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Id = g_mdl_EPD_Citaciones.EPD_Procedimientos.id;
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Codigo = g_mdl_EPD_Citaciones.EPD_Procedimientos.numero;
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Descripcion = g_mdl_EPD_Citaciones.EPD_Procedimientos.EPD_Materias.descripcion;
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_FechaBorrado = g_mdl_EPD_Citaciones.EPD_Procedimientos.fechaBorrado;
//EPD_Asesores
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Id = g_mdl_EPD_Citaciones.EPD_Asesores.id;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Codigo = g_mdl_EPD_Citaciones.EPD_Asesores.codigo;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Descripcion = g_mdl_EPD_Citaciones.EPD_Asesores.nombre;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_FechaBorrado = g_mdl_EPD_Citaciones.EPD_Asesores.fechaBorrado;
//observaciones
g_frm_P_Citacion.Exferia_TextBox_Observaciones.Text = g_mdl_EPD_Citaciones.observaciones;
// Mostrar Campo en el Titulo de mantenimiento
string str_MenuSuperior_Codigo = "";
if (g_frm_P_Citacion.g_mdl_PRV_OpcionesDetalle != null &&
g_frm_P_Citacion.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento != null &&
g_frm_P_Citacion.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento.Trim().Length > 0)
{
//Obtener el Array de Campos
string[] arr_Campos = g_frm_P_Citacion.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento.Split(new Char[] { ',' });
string str_ValorAMostrarFinal = "";
string[] str_Separador = new string[] { " [" };
//Si ya hay valores de objeto, los elimino para rellenarlos de nuevo
if (g_frm_P_Citacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1)
{
g_frm_P_Citacion.P_Base_TituloPantalla = (g_frm_P_Citacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0];
}
dynamic dnm_Objeto = g_mdl_EPD_Citaciones;
foreach (string str_campo in arr_Campos)
{
var Valor = dnm_Objeto.GetType().GetProperty(str_campo).GetValue(dnm_Objeto, null);
if (Valor != null)
{
str_ValorAMostrarFinal += " " + Valor;
}
// codigo
if (str_campo.Equals(nameof(g_mdl_EPD_Citaciones.codigo)))
{
str_MenuSuperior_Codigo = g_mdl_EPD_Citaciones.codigo;
}
}
if (str_ValorAMostrarFinal != "")
{
g_frm_P_Citacion.P_Base_TituloPantalla += " [" + str_ValorAMostrarFinal + "] -Modificar";
}
}
//Actualizar el Boton de Seleccion de pantalla ####################################################
Variables.G_EMS_CONTROL_MENUSUPERIOR.Add_Texto_NombrePantalla_Descripciones(g_frm_P_Citacion.Tag.ToString(), str_MenuSuperior_Codigo);
//#################################################################################################
g_frm_P_Citacion.P_Base_SeModificoDatosPantalla = false;
}
}
catch (Control_Errores)
{
bol_ValorDevuelto = false;
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(CargarDatos));
bol_ValorDevuelto = false;
}
return bol_ValorDevuelto;
}
#endregion
#region Grabar Datos
public void GrabarDatos()
{
try
{
g_bol_GrabarDatos_TerminoCorrectamente = true;
g_frm_P_Citacion.Enabled = false;
g_frm_PE_Esperando = new PE_Esperando(Mensajes.G_STR_ESPERANDO_GRABANDODATOS());
g_obj_TareaAsincrona_GrabarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_GrabarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_GrabarDatos_DoWork);
g_obj_TareaAsincrona_GrabarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_GrabarDatos_Completed);
g_obj_TareaAsincrona_GrabarDatos.RunWorkerAsync();
g_frm_PE_Esperando.ShowDialog();
}
catch (Exception ex)
{
g_bol_GrabarDatos_TerminoCorrectamente = false;
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Citacion.Enabled = true;
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(GrabarDatos));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA());
}
}
private void TareaAsincrona_GrabarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
try
{
// Validar Primero
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_VALIDACION = ValidarDatos();
if (mdl_ValorDevuelto_Modelo_VALIDACION.TodoCorrecto)
{
mdl_INTERNO_ValorDevuelto_Modelo = GrabarDatos_Final();
}
else
{
mdl_INTERNO_ValorDevuelto_Modelo = mdl_ValorDevuelto_Modelo_VALIDACION;
}
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
finally
{
e.Result = mdl_INTERNO_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_GrabarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Citacion.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
if (mdl_ValorDevuelto_Modelo_Resultado.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
//Poner el Foco en el objeto que tuvoel problema en validar
if (mdl_ValorDevuelto_Modelo_Resultado.Objeto != null)
{
Funciones.Poner_Foco_Objeto(g_frm_P_Citacion, mdl_ValorDevuelto_Modelo_Resultado.Objeto);
}
}
g_bol_GrabarDatos_TerminoCorrectamente = false;
}
else
{
// Devolver al Listado el Row Añadido/Modificado
if (g_frm_P_Citacion.P_Base_PantallaOrigen != null)
{
//Desde procedimientos
if (g_mdl_INTERNO_EPD_Procedimientos_Modelo!=null)
{
List<object> lst_obj = new List<object>();
lst_obj.Add(g_frm_P_Citacion.g_mdl_PRV_OpcionesDetalle.opcion);
List<object> lst_Argumentos = new List<object>();
lst_Argumentos.Add(mdl_ValorDevuelto_Modelo_Resultado.Id);
lst_Argumentos.Add(mdl_ValorDevuelto_Modelo_Resultado.TipoAccion);
lst_obj.Add(lst_Argumentos);
g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_ActualizarRegistro_ConObjeto(lst_obj, G_ENUM_TIPOACCION.INT_NADA);
}
//Normal
else
{
g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_ActualizarRegistro(mdl_ValorDevuelto_Modelo_Resultado.Id, mdl_ValorDevuelto_Modelo_Resultado.TipoAccion);
}
}
g_frm_P_Citacion.P_Base_SeModificoDatosPantalla = false;
RecargarDatos();
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_Completed));
}
}
public INTERNO_ValorDevuelto_Modelo ValidarDatos()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
//Si el codigo esta vacio y se intenta buscar el ultimo numerico y llego al limite de base de datos
if (g_frm_P_Citacion.Exferia_TextBox_Codigo.Text.Trim().Length == 0)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo_AUX = Buscar_CodigoSiguiente();
if (mdl_INTERNO_ValorDevuelto_Modelo_AUX.TodoCorrecto == false)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = mdl_INTERNO_ValorDevuelto_Modelo_AUX.Mensaje;
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_TextBox_Codigo;
}
}
// El codigo no puede estar Repetido
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
string str_Codigo = g_frm_P_Citacion.Exferia_TextBox_Codigo.Text.Trim();
if (g_bol_CampoCodigo_Numerico)
{
int int_Codigo = int.Parse(str_Codigo);
str_Codigo = int_Codigo.ToString();
}
if (Datos_Generales.Buscar_CodigoRepetido(nameof(EPD_Citaciones), nameof(EPD_Citaciones.codigo), str_Codigo, nameof(EPD_Citaciones.id), (g_mdl_EPD_Citaciones != null ? g_mdl_EPD_Citaciones.id : -1), nameof(EPD_Citaciones.idEmpresa), g_frm_P_Citacion.P_Base_ValoresGenerales.lng_idEmpresa, true))
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_REPETIDO(g_frm_P_Citacion.Exferia_Label_Codigo.Text);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_TextBox_Codigo;
}
}
// la descripcion no puede estar vacío
if ((mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto) && (g_frm_P_Citacion.Exferia_TextBox_Descripcion.Text.Trim().Length == 0))
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Citacion.Exferia_Label_Descripcion.Text);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_TextBox_Descripcion;
}
// La fecha no puede estar vacia y debe ser correcta
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
int int_fechaAlta_Respuesta = Funciones.Fecha_Validacion(g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha.Trim(' ', '/'));
if (int_fechaAlta_Respuesta == 1)//Vacia
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Descripcion);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha;
}
else if (int_fechaAlta_Respuesta == 2)//Incorrecta
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_FECHA_INCORRECTA(g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Descripcion);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha;
}
}
//La hora no puede estar vacia
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
int int_Hora_Respuesta = Funciones.Hora_Validacion(g_frm_P_Citacion.Exferia_TextBox_ConMascara_Fecha_Hora.Text);
if (int_Hora_Respuesta == 1)//Vacia
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO("Hora");
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_TextBox_ConMascara_Fecha_Hora;
}
else if (int_Hora_Respuesta == 2)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_FECHA_INCORRECTA("Hora");
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_TextBox_ConMascara_Fecha_Hora;
}
}
// El procedimiento no puede estar Vacio (Obligatorio)
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto && g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Codigo.Trim().Length == 0 &&
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Descripcion.Trim().Length == 0)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Titulo);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_PRINCIPAL_TextBox_Codigo;
}
// Si hay procedimiento validar que es Correcta
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto && (g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Codigo.Trim().Length != 0 ||
g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Descripcion.Trim().Length != 0) && g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Id == -1)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_F3_INCORRECTO(g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Titulo);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_PRINCIPAL_TextBox_Codigo;
}
// El asesor no puede estar Vacio (Obligatorio)
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto && g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Codigo.Trim().Length == 0 &&
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Descripcion.Trim().Length == 0)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Titulo);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_PRINCIPAL_TextBox_Codigo;
}
// Si hay asesor validar que es Correcta
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto && (g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Codigo.Trim().Length != 0 ||
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Descripcion.Trim().Length != 0) && g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Id == -1)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_F3_INCORRECTO(g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Titulo);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_PRINCIPAL_TextBox_Codigo;
}
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_VALIDARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(ValidarDatos));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_VALIDARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
private INTERNO_ValorDevuelto_Modelo GrabarDatos_Final()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
EPD_Citaciones mdl_EPD_Citaciones = new EPD_Citaciones();
//id
mdl_EPD_Citaciones.id = g_mdl_EPD_Citaciones != null ? g_mdl_EPD_Citaciones.id : -1;
//codigo
mdl_EPD_Citaciones.codigo = g_frm_P_Citacion.Exferia_TextBox_Codigo.Text.Trim();
//descripcion
mdl_EPD_Citaciones.descripcion = g_frm_P_Citacion.Exferia_TextBox_Descripcion.Text.Trim();
//fechaHora
DateTime dtt_Fecha = DateTime.ParseExact(g_frm_P_Citacion.Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha, "dd/MM/yyyy", CultureInfo.InvariantCulture);
TimeSpan tms_Hora = TimeSpan.ParseExact(g_frm_P_Citacion.Exferia_TextBox_ConMascara_Fecha_Hora.Text, "hh\\:mm", CultureInfo.InvariantCulture);
mdl_EPD_Citaciones.fechaHora = new DateTime(dtt_Fecha.Year, dtt_Fecha.Month, dtt_Fecha.Day, tms_Hora.Hours, tms_Hora.Minutes, 0);
//duracion
mdl_EPD_Citaciones.duracion = g_frm_P_Citacion.Exferia_TextBox_Duracion.Text.Trim().Length>0? int.Parse(g_frm_P_Citacion.Exferia_TextBox_Duracion.Text.Trim()) : 0;
//idProcedimiento
mdl_EPD_Citaciones.idProcedimiento = g_frm_P_Citacion.Exferia_F3_Procedimiento.Exferia_F3_Id;
//idAsesor
mdl_EPD_Citaciones.idAsesor = g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Id;
//idEmpresa
if ((g_mdl_EPD_Citaciones != null ? g_mdl_EPD_Citaciones.idEmpresa : -1) != -1)
{
mdl_EPD_Citaciones.idEmpresa = g_mdl_EPD_Citaciones.idEmpresa;
}
else
{
//Buscar el idEmpresa que Corresponda
mdl_EPD_Citaciones.idEmpresa = Datos_Generales.GEN_Empresas_Devolver_IdEmpresa_AGrabar(g_frm_P_Citacion.P_Base_ValoresGenerales.lng_idEmpresa, nameof(EPD_Citaciones));
}
//observaciones
mdl_EPD_Citaciones.observaciones = g_frm_P_Citacion.Exferia_TextBox_Observaciones.Text.Trim();
// Se graba el modelo ya relleno.
mdl_INTERNO_ValorDevuelto_Modelo = g_obj_EPD_Citaciones_Datos.Grabar(mdl_EPD_Citaciones);
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
//Recargar
g_frm_P_Citacion.P_Base_id = mdl_INTERNO_ValorDevuelto_Modelo.Id;
g_mdl_EPD_Citaciones = g_obj_EPD_Citaciones_Datos.Obtener(mdl_INTERNO_ValorDevuelto_Modelo.Id);
//Activar boton Borrar
g_frm_P_Citacion.Exferia_Button_Borrar.Enabled = true;
}
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(GrabarDatos_Final));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Borrar Datos
public void BorrarDatos(bool _bol_VolverAlListado)
{
try
{
// Preguntar si esta Seguro de Borrar
if (Mensajes.MostrarMensaje_Pregunta(Mensajes.G_STR_MENSAJES_GENERAL_PREGUNTA_BORRAR()))
{
g_bol_BorrarDatos_VolverListado = _bol_VolverAlListado;
g_frm_P_Citacion.Enabled = false;
g_frm_PE_Esperando = new PE_Esperando(Mensajes.G_STR_ESPERANDO_BORRANDODATOS());
g_obj_TareaAsincrona_BorrarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_BorrarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_BorrarDatos_DoWork);
g_obj_TareaAsincrona_BorrarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_BorrarDatos_Completed);
g_obj_TareaAsincrona_BorrarDatos.RunWorkerAsync();
g_frm_PE_Esperando.ShowDialog();
}
}
catch (Exception ex)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Citacion.Enabled = true;
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(BorrarDatos));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA());
}
}
private void TareaAsincrona_BorrarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
//Borrar
mdl_INTERNO_ValorDevuelto_Modelo = BorrarDatos_Final();
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
finally
{
e.Result = mdl_INTERNO_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_BorrarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_Citacion.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
if (mdl_ValorDevuelto_Modelo_Resultado.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
}
}
else
{
// Devolver al Listado el Row Borrar
if (g_frm_P_Citacion.P_Base_PantallaOrigen != null)
{
//Desde Procedimiento
if (g_mdl_INTERNO_EPD_Procedimientos_Modelo != null)
{
// Devolver al Listado el Row Borrar
List<object> lst_obj = new List<object>();
//opcion
lst_obj.Add(g_frm_P_Citacion.g_mdl_PRV_OpcionesDetalle.opcion);
//Ids a borrar
List<long> lst_id = new List<long>();
lst_id.Add(mdl_ValorDevuelto_Modelo_Resultado.Id);
lst_obj.Add(lst_id);
g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_ActualizarRegistro_ConObjeto(lst_obj, G_ENUM_TIPOACCION.INT_ELIMINAR);
}
//Normal
else
{
g_frm_P_Citacion.P_Base_PantallaOrigen.P_Base_ActualizarRegistro(mdl_ValorDevuelto_Modelo_Resultado.Id, mdl_ValorDevuelto_Modelo_Resultado.TipoAccion);
}
}
if (g_bol_BorrarDatos_VolverListado)
{
g_frm_P_Citacion.P_Base_SeModificoDatosPantalla = false;
g_frm_P_Citacion.Salir_P_Base();
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_Completed));
}
}
private INTERNO_ValorDevuelto_Modelo BorrarDatos_Final()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
try
{
mdl_INTERNO_ValorDevuelto_Modelo = g_obj_EPD_Citaciones_Datos.Borrar(g_mdl_EPD_Citaciones != null ? g_mdl_EPD_Citaciones.id : -1);
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(BorrarDatos_Final));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Procedimiento
public void Procedimiento_Obtener_DatosAuxiliares(long _lng_idProcedimiento)
{
try
{
EPD_Asesores mdl_EPD_Asesores = g_obj_EPD_Asesores_Datos.Obtener_Modelo_Por_IdProcedimiento(_lng_idProcedimiento);
if (mdl_EPD_Asesores!=null)
{
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Id = mdl_EPD_Asesores.id;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Codigo = mdl_EPD_Asesores.codigo;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Descripcion = mdl_EPD_Asesores.nombre;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_FechaBorrado = mdl_EPD_Asesores.fechaBorrado;
}
else
{
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Id = -1;
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Codigo ="";
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_Descripcion = "";
g_frm_P_Citacion.Exferia_F3_Asesor.Exferia_F3_FechaBorrado = null;
}
}
catch(Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Citacion_Controladora) + "/" + nameof(Procedimiento_Obtener_DatosAuxiliares));
}
}
#endregion
}
}

View File

@ -0,0 +1,671 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_Expedientes._1_Datos;
using Exferia_Formularios;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using static Exferia_Aplicacion.General.Enumerados;
namespace Exferia_Expedientes._3_Vistas.Controladoras
{
public class P_ProcedimientoNotificacion_Controladora
{
#region Variables Generales
private P_ProcedimientoNotificacion g_frm_P_ProcedimientoNotificacion = null;//Variable que enlaza con la pantalla asociada
private PE_Esperando g_frm_PE_Esperando;//Pantalla de Espera, para cuando se ejecutan tareas pesadas como cargar, guardar, etc
//Clases de Negocio Necesarias para la carga de datos
private EPD_ProcedimientosNotificaciones_Datos g_obj_EPD_ProcedimientosNotificaciones_Datos = new EPD_ProcedimientosNotificaciones_Datos();
public EPD_ProcedimientosNotificaciones g_mdl_EPD_ProcedimientosNotificaciones = null;//Modelo de los datos del asesor, cargados
private INTERNO_EPD_Procedimientos_Modelo g_mdl_INTERNO_EPD_Procedimientos_Modelo = null;
public bool g_bol_Termino_CargaDatos_Inicial = false;//Se utiliza para saber cuando se termina la carga de datos estaticos inciales
//Tareea Asincrona de carga de datos
private BackgroundWorker g_obj_TareaAsincrona_CargarDatos;
//Tareea Asincrona de grabar de datos
private BackgroundWorker g_obj_TareaAsincrona_GrabarDatos;
private bool g_bol_GrabarDatos_TerminoCorrectamente = true;
private bool g_bol_GrabarDatos_VolverListado = true;
//Tareea Asincrona de borrar de datos
private BackgroundWorker g_obj_TareaAsincrona_BorrarDatos;
private bool g_bol_BorrarDatos_VolverListado = true;
#endregion
#region Constructor
public P_ProcedimientoNotificacion_Controladora(P_ProcedimientoNotificacion _frm_P_ProcedimientoNotificacion, INTERNO_EPD_Procedimientos_Modelo _mdl_INTERNO_EPD_Procedimientos_Modelo)
{
g_frm_P_ProcedimientoNotificacion = _frm_P_ProcedimientoNotificacion;
g_mdl_INTERNO_EPD_Procedimientos_Modelo = _mdl_INTERNO_EPD_Procedimientos_Modelo;
g_bol_Termino_CargaDatos_Inicial = true;
}
#endregion
#region Vaciar datos
public void VaciarDatos()
{
//Observaciones
g_frm_P_ProcedimientoNotificacion.Exferia_TextBox_Observaciones.Text = "";
//fecha recepcion
g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha = "";
string[] str_Separador = new string[] { " [" };
//Si ya hay valores de objeto, los elimino para rellenarlos de nuevo
if (g_frm_P_ProcedimientoNotificacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1)
{
g_frm_P_ProcedimientoNotificacion.P_Base_TituloPantalla = (g_frm_P_ProcedimientoNotificacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0];
}
//Actualizar el Boton de Seleccion de pantalla ####################################################
Variables.G_EMS_CONTROL_MENUSUPERIOR.Update_Texto_NombrePantalla(g_frm_P_ProcedimientoNotificacion.Tag.ToString());
//#################################################################################################
g_mdl_EPD_ProcedimientosNotificaciones = null;
}
#endregion
#region Comprobacion de cambios, para grabar o no antes de salir o cambiar de registro
public bool ComprobarCambios()
{
if (g_frm_P_ProcedimientoNotificacion.P_Base_SeModificoDatosPantalla)
{
if (Mensajes.MostrarMensaje_Pregunta(Mensajes.G_STR_MENSAJES_GENERAL_PREGUNTA_GUARDARCAMBIOS()))
{
GrabarDatos(false);
//Te quedas espernado a que termine la tarea asincrona de grabar
while (g_obj_TareaAsincrona_GrabarDatos.IsBusy)
Application.DoEvents();
return g_bol_GrabarDatos_TerminoCorrectamente;
}
}
return true;
}
#endregion
#region Cargar Datos
public void RecargarDatos()
{
try
{
//Bloquear el formulario para que no se pueda hacer nada hasta que termine
g_frm_P_ProcedimientoNotificacion.Enabled = false;
//Mostrar la pantalla de espera
g_frm_PE_Esperando = new PE_Esperando();
// Si la tarea asincrona esta en marcha la paro
if (g_obj_TareaAsincrona_CargarDatos != null)
{
while (g_obj_TareaAsincrona_CargarDatos.IsBusy)
Application.DoEvents();
//Vaciar
VaciarDatos();
}
else
{
g_obj_TareaAsincrona_CargarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_CargarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_CargarDatos_DoWork);
g_obj_TareaAsincrona_CargarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_CargarDatos_Completed);
g_obj_TareaAsincrona_CargarDatos.WorkerReportsProgress = false;
}
//(Tarea Asincrona) Cargar Datos ##################################################################
g_obj_TareaAsincrona_CargarDatos.RunWorkerAsync();
//#################################################################################################
g_frm_PE_Esperando.ShowDialog();
}
catch (Exception ex)
{
g_frm_P_ProcedimientoNotificacion.Enabled = true;
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
throw new Control_Errores(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA(), ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(RecargarDatos), true);
}
}
private void TareaAsincrona_CargarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
// Cargar Valores
if (CargarDatos(g_frm_P_ProcedimientoNotificacion.P_Base_id) == false)
{
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_DoWork));
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_DoWork));
mdl_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA();
}
finally
{
e.Result = mdl_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_CargarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
//Desbloquear el Formulario
g_frm_P_ProcedimientoNotificacion.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
g_frm_P_ProcedimientoNotificacion.Salir_P_Base();
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_CargarDatos_Completed));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
g_frm_P_ProcedimientoNotificacion.Salir_P_Base();
}
finally
{
//Hacemos foco al primer control.
g_frm_P_ProcedimientoNotificacion.Exferia_TextBox_Observaciones.Exferia_TextBox_Foco();
}
}
public bool CargarDatos(long _lng_id)
{
bool bol_ValorDevuelto = true;
try
{
g_mdl_EPD_ProcedimientosNotificaciones = g_obj_EPD_ProcedimientosNotificaciones_Datos.Obtener(_lng_id);
//Si no es Nulo Cargo lo Datos
if (g_mdl_EPD_ProcedimientosNotificaciones != null)
{
//Paginador ................................................................................
if (g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen != null &&
g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null &&
g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0)
{
long lng_id_ParaPaginacion = g_mdl_EPD_ProcedimientosNotificaciones.id;
int int_PaginaDelObjeto = g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.IndexOf(g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Where(n => n.ID.Equals(lng_id_ParaPaginacion)).FirstOrDefault());
g_frm_P_ProcedimientoNotificacion.g_obj_Funciones_Paginador.SetPaginaActual(int_PaginaDelObjeto);
// Asignando al paginador la pagina actual.
g_frm_P_ProcedimientoNotificacion.Exferia_Paginador_ProcedimientoNotificacion.PaginaActual = g_frm_P_ProcedimientoNotificacion.g_obj_Funciones_Paginador.GetPaginaActual();
}
//...........................................................................................
//observaciones
g_frm_P_ProcedimientoNotificacion.Exferia_TextBox_Observaciones.Text = g_mdl_EPD_ProcedimientosNotificaciones.observaciones;
//fechaRecepcion
g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha = g_mdl_EPD_ProcedimientosNotificaciones.fechaRecepcion.ToString("dd/MM/yyyy");
// Mostrar Campo en el Titulo de mantenimiento
string str_MenuSuperior_Codigo = "";
if (g_frm_P_ProcedimientoNotificacion.g_mdl_PRV_OpcionesDetalle != null &&
g_frm_P_ProcedimientoNotificacion.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento != null &&
g_frm_P_ProcedimientoNotificacion.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento.Trim().Length > 0)
{
//Obtener el Array de Campos
string[] arr_Campos = g_frm_P_ProcedimientoNotificacion.g_mdl_PRV_OpcionesDetalle.camposMostrar_TituloMantenimiento.Split(new Char[] { ',' });
string str_ValorAMostrarFinal = "";
string[] str_Separador = new string[] { " [" };
//Si ya hay valores de objeto, los elimino para rellenarlos de nuevo
if (g_frm_P_ProcedimientoNotificacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None).Count() > 1)
{
g_frm_P_ProcedimientoNotificacion.P_Base_TituloPantalla = (g_frm_P_ProcedimientoNotificacion.P_Base_TituloPantalla.Split(str_Separador, StringSplitOptions.None))[0];
}
dynamic dnm_Objeto = g_mdl_EPD_ProcedimientosNotificaciones;
foreach (string str_campo in arr_Campos)
{
var Valor = dnm_Objeto.GetType().GetProperty(str_campo).GetValue(dnm_Objeto, null);
if (Valor != null)
{
str_ValorAMostrarFinal += " " + Valor;
}
}
if (str_ValorAMostrarFinal != "")
{
g_frm_P_ProcedimientoNotificacion.P_Base_TituloPantalla += " [" + str_ValorAMostrarFinal + "] -Modificar";
}
}
//Actualizar el Boton de Seleccion de pantalla ####################################################
Variables.G_EMS_CONTROL_MENUSUPERIOR.Add_Texto_NombrePantalla_Descripciones(g_frm_P_ProcedimientoNotificacion.Tag.ToString(), str_MenuSuperior_Codigo);
//#################################################################################################
g_frm_P_ProcedimientoNotificacion.P_Base_SeModificoDatosPantalla = false;
}
}
catch (Control_Errores)
{
bol_ValorDevuelto = false;
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(CargarDatos));
bol_ValorDevuelto = false;
}
return bol_ValorDevuelto;
}
#endregion
#region Grabar Datos
public void GrabarDatos(bool _bol_VolverAlListado)
{
try
{
g_bol_GrabarDatos_VolverListado = _bol_VolverAlListado;
g_bol_GrabarDatos_TerminoCorrectamente = true;
g_frm_P_ProcedimientoNotificacion.Enabled = false;
g_frm_PE_Esperando = new PE_Esperando(Mensajes.G_STR_ESPERANDO_GRABANDODATOS());
g_obj_TareaAsincrona_GrabarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_GrabarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_GrabarDatos_DoWork);
g_obj_TareaAsincrona_GrabarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_GrabarDatos_Completed);
g_obj_TareaAsincrona_GrabarDatos.RunWorkerAsync();
g_frm_PE_Esperando.ShowDialog();
}
catch (Exception ex)
{
g_bol_GrabarDatos_TerminoCorrectamente = false;
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_ProcedimientoNotificacion.Enabled = true;
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(GrabarDatos));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA());
}
}
private void TareaAsincrona_GrabarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
try
{
// Validar Primero
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_VALIDACION = ValidarDatos();
if (mdl_ValorDevuelto_Modelo_VALIDACION.TodoCorrecto)
{
mdl_INTERNO_ValorDevuelto_Modelo = GrabarDatos_Final();
}
else
{
mdl_INTERNO_ValorDevuelto_Modelo = mdl_ValorDevuelto_Modelo_VALIDACION;
}
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
finally
{
e.Result = mdl_INTERNO_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_GrabarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_ProcedimientoNotificacion.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
if (mdl_ValorDevuelto_Modelo_Resultado.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
//Poner el Foco en el objeto que tuvoel problema en validar
if (mdl_ValorDevuelto_Modelo_Resultado.Objeto != null)
{
Funciones.Poner_Foco_Objeto(g_frm_P_ProcedimientoNotificacion, mdl_ValorDevuelto_Modelo_Resultado.Objeto);
}
}
g_bol_GrabarDatos_TerminoCorrectamente = false;
}
else
{
// Devolver al Listado el Row Añadido/Modificado
if (g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen != null)
{
List<object> lst_obj = new List<object>();
lst_obj.Add(g_frm_P_ProcedimientoNotificacion.g_mdl_PRV_OpcionesDetalle.opcion);
List<object> lst_Argumentos = new List<object>();
lst_Argumentos.Add(mdl_ValorDevuelto_Modelo_Resultado.Id);
lst_Argumentos.Add(mdl_ValorDevuelto_Modelo_Resultado.TipoAccion);
lst_obj.Add(lst_Argumentos);
g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen.P_Base_ActualizarRegistro_ConObjeto(lst_obj, G_ENUM_TIPOACCION.INT_NADA);
}
if (g_bol_GrabarDatos_VolverListado)
{
g_frm_P_ProcedimientoNotificacion.P_Base_SeModificoDatosPantalla = false;
g_frm_P_ProcedimientoNotificacion.Salir_P_Base();
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_GrabarDatos_Completed));
}
}
public INTERNO_ValorDevuelto_Modelo ValidarDatos()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
// La fecha recepcion no puede estar vacia y debe ser correcta
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto)
{
int int_fechaAlta_Respuesta = Funciones.Fecha_Validacion(g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha.Trim(' ', '/'));
if (int_fechaAlta_Respuesta == 1)//Vacia
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Descripcion);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta;
}
else if (int_fechaAlta_Respuesta == 2)//Incorrecta
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_FECHA_INCORRECTA(g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Descripcion);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta;
}
}
// Las observaciones no puede estar vacío
if ((mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto) && (g_frm_P_ProcedimientoNotificacion.Exferia_TextBox_Observaciones.Text.Trim().Length == 0))
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_GENERAL_VALIDACIONES_VACIO(g_frm_P_ProcedimientoNotificacion.Exferia_Label_Observaciones.Text);
mdl_INTERNO_ValorDevuelto_Modelo.Objeto = g_frm_P_ProcedimientoNotificacion.Exferia_TextBox_Observaciones;
}
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_VALIDARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(ValidarDatos));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_VALIDARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
private INTERNO_ValorDevuelto_Modelo GrabarDatos_Final()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
EPD_ProcedimientosNotificaciones mdl_EPD_ProcedimientosNotificaciones = new EPD_ProcedimientosNotificaciones();
//id
mdl_EPD_ProcedimientosNotificaciones.id = g_mdl_EPD_ProcedimientosNotificaciones != null ? g_mdl_EPD_ProcedimientosNotificaciones.id : -1;
//idProcedimiento
mdl_EPD_ProcedimientosNotificaciones.idProcedimiento =g_mdl_INTERNO_EPD_Procedimientos_Modelo.id;
//observaciones
mdl_EPD_ProcedimientosNotificaciones.observaciones = g_frm_P_ProcedimientoNotificacion.Exferia_TextBox_Observaciones.Text.Trim();
//fechaRecepcion
mdl_EPD_ProcedimientosNotificaciones.fechaRecepcion = DateTime.ParseExact(g_frm_P_ProcedimientoNotificacion.Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha, "dd/MM/yyyy", CultureInfo.InvariantCulture);
// Se graba el modelo ya relleno.
mdl_INTERNO_ValorDevuelto_Modelo = g_obj_EPD_ProcedimientosNotificaciones_Datos.Grabar(mdl_EPD_ProcedimientosNotificaciones);
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(GrabarDatos_Final));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_GRABARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
#region Borrar Datos
public void BorrarDatos(bool _bol_VolverAlListado)
{
try
{
// Preguntar si esta Seguro de Borrar
if (Mensajes.MostrarMensaje_Pregunta(Mensajes.G_STR_MENSAJES_GENERAL_PREGUNTA_BORRAR()))
{
g_bol_BorrarDatos_VolverListado = _bol_VolverAlListado;
g_frm_P_ProcedimientoNotificacion.Enabled = false;
g_frm_PE_Esperando = new PE_Esperando(Mensajes.G_STR_ESPERANDO_BORRANDODATOS());
g_obj_TareaAsincrona_BorrarDatos = new BackgroundWorker();
g_obj_TareaAsincrona_BorrarDatos.DoWork += new DoWorkEventHandler(TareaAsincrona_BorrarDatos_DoWork);
g_obj_TareaAsincrona_BorrarDatos.RunWorkerCompleted += new RunWorkerCompletedEventHandler(TareaAsincrona_BorrarDatos_Completed);
g_obj_TareaAsincrona_BorrarDatos.RunWorkerAsync();
g_frm_PE_Esperando.ShowDialog();
}
}
catch (Exception ex)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_ProcedimientoNotificacion.Enabled = true;
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(BorrarDatos));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA());
}
}
private void TareaAsincrona_BorrarDatos_DoWork(object sender, DoWorkEventArgs e)
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = true;
try
{
//Borrar
mdl_INTERNO_ValorDevuelto_Modelo = BorrarDatos_Final();
}
catch (ThreadAbortException ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_DoWork));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
finally
{
e.Result = mdl_INTERNO_ValorDevuelto_Modelo;
}
}
private void TareaAsincrona_BorrarDatos_Completed(object sender, RunWorkerCompletedEventArgs e)
{
if (g_frm_PE_Esperando != null)
{
g_frm_PE_Esperando.Close();
g_frm_PE_Esperando = null;
}
g_frm_P_ProcedimientoNotificacion.Enabled = true;
try
{
INTERNO_ValorDevuelto_Modelo mdl_ValorDevuelto_Modelo_Resultado = (INTERNO_ValorDevuelto_Modelo)e.Result;
//Mostrar si tuviera algun mensaje
if (mdl_ValorDevuelto_Modelo_Resultado.TodoCorrecto == false)
{
if (mdl_ValorDevuelto_Modelo_Resultado.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_ValorDevuelto_Modelo_Resultado.Mensaje);
}
}
else
{
// Devolver al Listado el Row Borrar
if (g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen != null)
{
// Devolver al Listado el Row Borrar
List<object> lst_obj = new List<object>();
//opcion
lst_obj.Add(g_frm_P_ProcedimientoNotificacion.g_mdl_PRV_OpcionesDetalle.opcion);
//Ids a borrar
List<long> lst_id = new List<long>();
lst_id.Add(mdl_ValorDevuelto_Modelo_Resultado.Id);
lst_obj.Add(lst_id);
g_frm_P_ProcedimientoNotificacion.P_Base_PantallaOrigen.P_Base_ActualizarRegistro_ConObjeto(lst_obj, G_ENUM_TIPOACCION.INT_ELIMINAR);
}
if (g_bol_BorrarDatos_VolverListado)
{
g_frm_P_ProcedimientoNotificacion.P_Base_SeModificoDatosPantalla = false;
g_frm_P_ProcedimientoNotificacion.Salir_P_Base();
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(TareaAsincrona_BorrarDatos_Completed));
}
}
private INTERNO_ValorDevuelto_Modelo BorrarDatos_Final()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = new INTERNO_ValorDevuelto_Modelo();
try
{
mdl_INTERNO_ValorDevuelto_Modelo = g_obj_EPD_ProcedimientosNotificaciones_Datos.Borrar(g_mdl_EPD_ProcedimientosNotificaciones != null ? g_mdl_EPD_ProcedimientosNotificaciones.id : -1);
}
catch (Control_Errores)
{
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion_Controladora) + "/" + nameof(BorrarDatos_Final));
mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto = false;
mdl_INTERNO_ValorDevuelto_Modelo.Mensaje = Mensajes.G_STR_MENSAJES_GENERAL_ERROR_BORRARDATOSPANTALLA();
}
return mdl_INTERNO_ValorDevuelto_Modelo;
}
#endregion
}
}

View File

@ -0,0 +1,53 @@
using Exferia_Aplicacion.General;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.F3
{
class ABS_F3_EPD_Actores : ABS_F3
{
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo);
}
public override string NOMBRE_CAMPO_DESCRIPCION()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre);
}
public override string NOMBRE_CAMPO_FECHABORRADO()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBorrado);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.id);
}
public override string NOMBRE_CAMPO_IDEJERCICIO_BAJA()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_1()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_2()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_3()
{
return "";
}
}
}

View File

@ -0,0 +1,53 @@
using Exferia_Aplicacion.General;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.F3
{
class ABS_F3_EPD_Asesores : ABS_F3
{
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(INTERNO_EPD_Asesores_Listado_Modelo.codigo);
}
public override string NOMBRE_CAMPO_DESCRIPCION()
{
return nameof(INTERNO_EPD_Asesores_Listado_Modelo.nombre);
}
public override string NOMBRE_CAMPO_FECHABORRADO()
{
return nameof(INTERNO_EPD_Asesores_Listado_Modelo.fechaBorrado);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(INTERNO_EPD_Asesores_Listado_Modelo.id);
}
public override string NOMBRE_CAMPO_IDEJERCICIO_BAJA()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_1()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_2()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_3()
{
return "";
}
}
}

View File

@ -0,0 +1,53 @@
using Exferia_Aplicacion.General;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.F3
{
class ABS_F3_EPD_Demandados : ABS_F3
{
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(INTERNO_EPD_Demandados_Listado_Modelo.codigo);
}
public override string NOMBRE_CAMPO_DESCRIPCION()
{
return nameof(INTERNO_EPD_Demandados_Listado_Modelo.nombre);
}
public override string NOMBRE_CAMPO_FECHABORRADO()
{
return nameof(INTERNO_EPD_Demandados_Listado_Modelo.fechaBorrado);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(INTERNO_EPD_Demandados_Listado_Modelo.id);
}
public override string NOMBRE_CAMPO_IDEJERCICIO_BAJA()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_1()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_2()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_3()
{
return "";
}
}
}

View File

@ -0,0 +1,53 @@
using Exferia_Aplicacion.General;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.F3
{
class ABS_F3_EPD_Expedientes : ABS_F3
{
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo);
}
public override string NOMBRE_CAMPO_DESCRIPCION()
{
return nameof(INTERNO_EPD_Expedientes_Listado_Modelo.descripcion);
}
public override string NOMBRE_CAMPO_FECHABORRADO()
{
return nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaBorrado);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(INTERNO_EPD_Expedientes_Listado_Modelo.id);
}
public override string NOMBRE_CAMPO_IDEJERCICIO_BAJA()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_1()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_2()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_3()
{
return "";
}
}
}

View File

@ -0,0 +1,53 @@
using Exferia_Aplicacion.General;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.F3
{
class ABS_F3_EPD_Juzgados : ABS_F3
{
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(INTERNO_EPD_Juzgados_Listado_Modelo.codigo);
}
public override string NOMBRE_CAMPO_DESCRIPCION()
{
return nameof(INTERNO_EPD_Juzgados_Listado_Modelo.descripcion);
}
public override string NOMBRE_CAMPO_FECHABORRADO()
{
return nameof(INTERNO_EPD_Juzgados_Listado_Modelo.fechaBorrado);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(INTERNO_EPD_Juzgados_Listado_Modelo.id);
}
public override string NOMBRE_CAMPO_IDEJERCICIO_BAJA()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_1()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_2()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_3()
{
return "";
}
}
}

View File

@ -0,0 +1,53 @@
using Exferia_Aplicacion.General;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.F3
{
class ABS_F3_EPD_Materias : ABS_F3
{
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(INTERNO_EPD_Materias_Listado_Modelo.codigo);
}
public override string NOMBRE_CAMPO_DESCRIPCION()
{
return nameof(INTERNO_EPD_Materias_Listado_Modelo.descripcion);
}
public override string NOMBRE_CAMPO_FECHABORRADO()
{
return nameof(INTERNO_EPD_Materias_Listado_Modelo.fechaBorrado);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(INTERNO_EPD_Materias_Listado_Modelo.id);
}
public override string NOMBRE_CAMPO_IDEJERCICIO_BAJA()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_1()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_2()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_3()
{
return "";
}
}
}

View File

@ -0,0 +1,53 @@
using Exferia_Aplicacion.General;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.F3
{
class ABS_F3_EPD_Procedimientos : ABS_F3
{
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero);
}
public override string NOMBRE_CAMPO_DESCRIPCION()
{
return nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Materia_Descripcion);
}
public override string NOMBRE_CAMPO_FECHABORRADO()
{
return nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.fechaBorrado);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.id);
}
public override string NOMBRE_CAMPO_IDEJERCICIO_BAJA()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_1()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_2()
{
return "";
}
public override string NOMBRE_CAMPO_DATOSAUXILIARES_3()
{
return "";
}
}
}

View File

@ -0,0 +1,184 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_CitacionesPorExpediente_Informe : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_CitacionesPorExpediente_Informe()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//Tipo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Tipo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Tipo), "Tipo", Enumerados.G_ENUM_TIPOSDATOS.INT, true, 0, false, false, false, false, "", null, true, null, null, "", false, 0, true));
//Expediente_codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_codigo), "Expediente-Código", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
//Expediente_descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_descripcion), "Expediente-Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, true, null, null, "", false, 0, true));
//Expediente_fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_fechaAlta), "Expediente-Fecha alta", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350,true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_fechaBaja), "Expediente-Fecha baja", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, true, null, null, "", false, 0, true));
//Expediente_colectivo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_colectivo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_colectivo), "Expediente-Colectivo", Enumerados.G_ENUM_TIPOSDATOS.BOOLEAN, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_DemandanteDemandado_Texto
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_DemandanteDemandado_Texto), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_DemandanteDemandado_Texto), "Expediente-Demandante/Demandado", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_observaciones), "Expediente-Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_Asesor
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Asesor), "Expediente-Asesor", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_Demandado
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Demandado), "Expediente-Demandado", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_Empresa
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Empresa), "Expediente-Empresa", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Expediente_Actores), "Expediente-Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
//Procedimientos_numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_numero), "Procedimiento-Número", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Procedimientos_numeroEjecucion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_numeroEjecucion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_numeroEjecucion), "Procedimientos-Nº Ejecución", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Procedimientos_observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_observaciones), "Procedimiento-Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
//Procedimientos_Materia
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_Materia), "Procedimiento-Materia", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Procedimientos_Juzgado
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_Juzgado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_Juzgado), "Procedimiento-Juzgado", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Procedimientos_Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Procedimientos_Actores), "Procedimiento-Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
//Citaciones_codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_codigo), "Cita-Código", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false,true, false, "", null, false, null, null, "", false, 0, true));
//Citaciones_descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_descripcion), "Cita-Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Citacion_Fecha
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_Fecha), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_Fecha), "Cita-Fecha", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Citacion_Hora
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_Hora), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_Hora), "Cita-Hora", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
//Citaciones_duracion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_duracion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_duracion), "Cita-Duración", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
//Citaciones_observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_observaciones), "Cita-Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
//Citaciones_Asesor
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Citaciones_Asesor), "Cita-Asesor", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 350, true, false, false, false, "", null, false, null, null, "", false, 0, true));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_OTROS_EPD_CITACIONESPOREXPEDIENTE_INFORME);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_OTROS_EPD_CITACIONESPOREXPEDIENTE_INFORME;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return null;
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,145 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_Citaciones_Informe : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_Citaciones_Informe()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//Tipo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Tipo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Tipo), "Tipo", Enumerados.G_ENUM_TIPOSDATOS.INT, true, 0, false, true, false, false, "", null, true, null, null, "", false, 0, true));
//Citacion_Fecha
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Citacion_Fecha), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Citacion_Fecha), "Fecha", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, true, 0, false, true, false, false, "", null, false, null, null, "", false, 0, true));
//Juzgado
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Juzgado_Descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Juzgado_Descripcion), "Juzgado", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null, true, null, null, "", false, 0, true));
//Citacion_Hora
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Citacion_Hora), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Citacion_Hora), "Hora", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 70,true, true, true, false, "", null, false, null, null, "", false, 0, true));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Demandado
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Demandado), "Demandado", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Materia
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Materia), "Materia", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Asesor
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Asesor_Nombre), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Asesor_Nombre), "Asesor", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null, false, null, null, "", false, 0, true));
//Expediente_Codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Expediente_Codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Expediente_Codigo), "Nº Expediente", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Citacion_Observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Citacion_Observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Citacion_Observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Procedimiento_Numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Procedimiento_Numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Procedimiento_Numero), "Nº Procedimiento", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false, null, null, "", false, 0, true));
//Procedimiento_NumeroEjecucion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_Informe_Citaciones_Modelo.Procedimiento_NumeroEjecucion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_Informe_Citaciones_Modelo.Procedimiento_NumeroEjecucion), "Nº Ejecución", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, false, false, "", null, false, null, null, "", false, 0, true));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_OTROS_EPD_CITACIONES_INFORME);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_OTROS_EPD_CITACIONES_INFORME;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return null;
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,149 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Actores : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Actores()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Actores_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 90, true, true, true, false, "", null));
//nombre
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), "Nombre", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), "Fecha Alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), "Fecha Baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//telefono_1
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_1), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_1), "Teléfono 1", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//telefono_2
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_2), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_2), "Teléfono 2", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//telefono_3
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_3), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_3), "Teléfono 3", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//fax
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fax), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fax), "Fax", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//email
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.email), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.email), "Email", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//cif
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.cif), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.cif), "CIF/NIF", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//Delegacion
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idDelegacion), nameof(GEN_Delegaciones), nameof(GEN_Delegaciones.id), nameof(GEN_Delegaciones.codigo), nameof(GEN_Delegaciones.descripcion), nameof(GEN_Delegaciones.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), "Delegación", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_ACTORES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_ACTORES;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,150 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Actores_P_Expediente : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Actores_P_Expediente()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Actores_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 90, true, true, true, false, "", null));
//nombre
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), "Nombre", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), "Fecha Alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), "Fecha Baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//telefono_1
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_1), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_1), "Teléfono 1", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//telefono_2
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_2), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_2), "Teléfono 2", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//telefono_3
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_3), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_3), "Teléfono 3", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//fax
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fax), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fax), "Fax", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//email
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.email), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.email), "Email", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//cif
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.cif), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.cif), "CIF/NIF", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//Delegacion
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idDelegacion), nameof(GEN_Delegaciones), nameof(GEN_Delegaciones.id), nameof(GEN_Delegaciones.codigo), nameof(GEN_Delegaciones.descripcion), nameof(GEN_Delegaciones.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), "Delegación", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_ACTORES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_ACTORES + "_P_Expediente";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,149 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Actores_P_Procedimiento : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Actores_P_Procedimiento()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Actores_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 90, true, true, true, false, "", null));
//nombre
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), "Nombre", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), "Fecha Alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), "Fecha Baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//telefono_1
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_1), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_1), "Teléfono 1", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//telefono_2
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_2), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_2), "Teléfono 2", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//telefono_3
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_3), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.telefono_3), "Teléfono 3", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//fax
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fax), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fax), "Fax", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//email
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.email), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.email), "Email", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//cif
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.cif), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.cif), "CIF/NIF", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
//Delegacion
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idDelegacion), nameof(GEN_Delegaciones), nameof(GEN_Delegaciones.id), nameof(GEN_Delegaciones.codigo), nameof(GEN_Delegaciones.descripcion), nameof(GEN_Delegaciones.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), "Delegación", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_ACTORES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_ACTORES + "_P_Procedimiento";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,131 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Asesores : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Asesores()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Asesores_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Asesores_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Asesores_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Asesores_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//nombre
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Asesores_Listado_Modelo.nombre), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Asesores_Listado_Modelo.nombre), "Nombre", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Asesores_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Asesores_Listado_Modelo.fechaAlta), "Fecha Alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Asesores_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Asesores_Listado_Modelo.fechaBaja), "Fecha Baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//Empleado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPLEADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Asesores_Listado_Modelo.idEmpleado), nameof(MAE_Empleados), nameof(MAE_Empleados.id), nameof(MAE_Empleados.codigo), nameof(MAE_Empleados.nombre), nameof(MAE_Empleados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Asesores_Listado_Modelo.Empleado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Asesores_Listado_Modelo.Empleado), "Empleado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPLEADO));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Asesores_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Asesores_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Asesores_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_ASESORES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_ASESORES;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Asesores_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,159 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Citaciones : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Citaciones()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.descripcion), "Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fecha
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Fecha), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Fecha), "Fecha", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 110, true, false, true, false, "", null));
//HoraInicio
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Hora), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Hora), "Hora inicio", Enumerados.G_ENUM_TIPOSDATOS.HORASIMPLE, false, 110, true, false, true, false, "", null));
//duracion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.duracion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.duracion), "Duración", Enumerados.G_ENUM_TIPOSDATOS.INT, false, 110, true, false, true, false, "", null));
//Procedimiento_Numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Procedimiento_Numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Procedimiento_Numero), "Nº procedimiento", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 120, true, false, true, false, "", null));
//Expediente_Codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Expediente_Codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Expediente_Codigo), "Nº expediente", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 120, true, false, true, false, "", null));
//Juzgado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado_Id), nameof(EPD_Juzgados), nameof(EPD_Juzgados.id), nameof(EPD_Juzgados.codigo), nameof(EPD_Juzgados.descripcion), nameof(EPD_Juzgados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado), "Juzgado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO));
//Materia
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia_Id), nameof(EPD_Materias), nameof(EPD_Materias.id), nameof(EPD_Materias.codigo), nameof(EPD_Materias.descripcion), nameof(EPD_Materias.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia), "Materia", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA));
//Demandado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado_Id), nameof(EPD_Demandados), nameof(EPD_Demandados.id), nameof(EPD_Demandados.codigo), nameof(EPD_Demandados.nombre), nameof(EPD_Demandados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado), "Demandado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO));
//Asesor
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.idAsesor), nameof(EPD_Asesores), nameof(EPD_Asesores.id), nameof(EPD_Asesores.codigo), nameof(EPD_Asesores.nombre), nameof(EPD_Asesores.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Asesor), "Asesor", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_CITACIONES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_CITACIONES;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,158 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Citaciones_P_Actor : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Citaciones_P_Actor()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.descripcion), "Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fecha
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Fecha), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Fecha), "Fecha", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 110, true, false, true, false, "", null));
//HoraInicio
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Hora), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Hora), "Hora inicio", Enumerados.G_ENUM_TIPOSDATOS.HORASIMPLE, false, 110, true, false, true, false, "", null));
//duracion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.duracion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.duracion), "Duración", Enumerados.G_ENUM_TIPOSDATOS.INT, false, 110, true, false, true, false, "", null));
//Procedimiento_Numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Procedimiento_Numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Procedimiento_Numero), "Nº procedimiento", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 120, true, false, true, false, "", null));
//Expediente_Codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Expediente_Codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Expediente_Codigo), "Nº expediente", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 120, true, false, true, false, "", null));
//Juzgado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado_Id), nameof(EPD_Juzgados), nameof(EPD_Juzgados.id), nameof(EPD_Juzgados.codigo), nameof(EPD_Juzgados.descripcion), nameof(EPD_Juzgados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado), "Juzgado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO));
//Materia
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia_Id), nameof(EPD_Materias), nameof(EPD_Materias.id), nameof(EPD_Materias.codigo), nameof(EPD_Materias.descripcion), nameof(EPD_Materias.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia), "Materia", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA));
//Demandado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado_Id), nameof(EPD_Demandados), nameof(EPD_Demandados.id), nameof(EPD_Demandados.codigo), nameof(EPD_Demandados.nombre), nameof(EPD_Demandados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado), "Demandado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO));
//Asesor
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.idAsesor), nameof(EPD_Asesores), nameof(EPD_Asesores.id), nameof(EPD_Asesores.codigo), nameof(EPD_Asesores.nombre), nameof(EPD_Asesores.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Asesor), "Asesor", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_CITACIONES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_CITACIONES + "_P_Actor";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,158 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Citaciones_P_Demandado : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Citaciones_P_Demandado()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.descripcion), "Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fecha
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Fecha), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Fecha), "Fecha", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 110, true, false, true, false, "", null));
//HoraInicio
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Hora), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Hora), "Hora inicio", Enumerados.G_ENUM_TIPOSDATOS.HORASIMPLE, false, 110, true, false, true, false, "", null));
//duracion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.duracion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.duracion), "Duración", Enumerados.G_ENUM_TIPOSDATOS.INT, false, 110, true, false, true, false, "", null));
//Procedimiento_Numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Procedimiento_Numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Procedimiento_Numero), "Nº procedimiento", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 120, true, false, true, false, "", null));
//Expediente_Codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Expediente_Codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Expediente_Codigo), "Nº expediente", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 120, true, false, true, false, "", null));
//Juzgado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado_Id), nameof(EPD_Juzgados), nameof(EPD_Juzgados.id), nameof(EPD_Juzgados.codigo), nameof(EPD_Juzgados.descripcion), nameof(EPD_Juzgados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Juzgado), "Juzgado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO));
//Materia
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia_Id), nameof(EPD_Materias), nameof(EPD_Materias.id), nameof(EPD_Materias.codigo), nameof(EPD_Materias.descripcion), nameof(EPD_Materias.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Materia), "Materia", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA));
//Demandado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado_Id), nameof(EPD_Demandados), nameof(EPD_Demandados.id), nameof(EPD_Demandados.codigo), nameof(EPD_Demandados.nombre), nameof(EPD_Demandados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Demandado), "Demandado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO));
//Asesor
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.idAsesor), nameof(EPD_Asesores), nameof(EPD_Asesores.id), nameof(EPD_Asesores.codigo), nameof(EPD_Asesores.nombre), nameof(EPD_Asesores.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Asesor), "Asesor", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Citaciones_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Citaciones_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_CITACIONES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_CITACIONES + "_P_Demandado";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Citaciones_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,121 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Demandados : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Demandados()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Demandados_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Demandados_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Demandados_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Demandados_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//nombre
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Demandados_Listado_Modelo.nombre), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Demandados_Listado_Modelo.nombre), "Nombre", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//cifnif
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Demandados_Listado_Modelo.cifnif), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Demandados_Listado_Modelo.cifnif), "CIF/NIF", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 100, true, false, false, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_DEMANDADOS);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_DEMANDADOS;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Demandados_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,151 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_Expedientes.General;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Expedientes : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Expedientes()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.descripcion), "Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 400, true, true, true, false, "", null));
//fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaAlta), "Fecha alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaBaja), "Fecha baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null,true));
//colectivo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.colectivo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.colectivo), "Colectivo", Enumerados.G_ENUM_TIPOSDATOS.BOOLEAN, false, 70, true, false, false, false, "", null, true));
//DemandanteDemandado
INTERNO_Filtro_Opciones_Modelo mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO = new INTERNO_Filtro_Opciones_Modelo();
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.MULTISELECCION = false;
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO = new List<INTERNO_Filtro_Opciones_Listado_Modelo>();
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO.Add(new INTERNO_Filtro_Opciones_Listado_Modelo(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion, Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion));
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO.Add(new INTERNO_Filtro_Opciones_Listado_Modelo(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion, Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion));
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.TIPO = 1;
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.DemandanteDemandado_Texto), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.DemandanteDemandado_Texto), "Demandante/Demandado", Enumerados.G_ENUM_TIPOSDATOS.OPCIONES, false, 150, true, false, true, false, "", null, false, mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO));
//Asesor
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.idAsesor), nameof(EPD_Asesores), nameof(EPD_Asesores.id), nameof(EPD_Asesores.codigo), nameof(EPD_Asesores.nombre), nameof(EPD_Asesores.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Asesor), "Asesor", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR));
//Demandado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.idDemandado), nameof(EPD_Demandados), nameof(EPD_Demandados.id), nameof(EPD_Demandados.codigo), nameof(EPD_Demandados.nombre), nameof(EPD_Demandados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Demandado), "Demandado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_EXPEDIENTES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_EXPEDIENTES;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,151 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_Expedientes.General;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Expedientes_P_Actor : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Expedientes_P_Actor()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.descripcion), "Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 400, true, true, true, false, "", null));
//fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaAlta), "Fecha alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaBaja), "Fecha baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null,true));
//colectivo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.colectivo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.colectivo), "Colectivo", Enumerados.G_ENUM_TIPOSDATOS.BOOLEAN, false, 70, true, false, false, false, "", null, true));
//DemandanteDemandado
INTERNO_Filtro_Opciones_Modelo mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO = new INTERNO_Filtro_Opciones_Modelo();
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.MULTISELECCION = false;
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO = new List<INTERNO_Filtro_Opciones_Listado_Modelo>();
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO.Add(new INTERNO_Filtro_Opciones_Listado_Modelo(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion, Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion));
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO.Add(new INTERNO_Filtro_Opciones_Listado_Modelo(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion, Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion));
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.TIPO = 1;
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.DemandanteDemandado_Texto), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.DemandanteDemandado_Texto), "Demandante/Demandado", Enumerados.G_ENUM_TIPOSDATOS.OPCIONES, false, 150, true, false, true, false, "", null, false, mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO));
//Asesor
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.idAsesor), nameof(EPD_Asesores), nameof(EPD_Asesores.id), nameof(EPD_Asesores.codigo), nameof(EPD_Asesores.nombre), nameof(EPD_Asesores.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Asesor), "Asesor", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR));
//Demandado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.idDemandado), nameof(EPD_Demandados), nameof(EPD_Demandados.id), nameof(EPD_Demandados.codigo), nameof(EPD_Demandados.nombre), nameof(EPD_Demandados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Demandado), "Demandado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_EXPEDIENTES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_EXPEDIENTES + "_P_Actor";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,151 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_Expedientes.General;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Expedientes_P_Demandado : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Expedientes_P_Demandado()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.descripcion), "Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 400, true, true, true, false, "", null));
//fechaAlta
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaAlta), "Fecha alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.fechaBaja), "Fecha baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null,true));
//colectivo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.colectivo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.colectivo), "Colectivo", Enumerados.G_ENUM_TIPOSDATOS.BOOLEAN, false, 70, true, false, false, false, "", null, true));
//DemandanteDemandado
INTERNO_Filtro_Opciones_Modelo mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO = new INTERNO_Filtro_Opciones_Modelo();
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.MULTISELECCION = false;
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO = new List<INTERNO_Filtro_Opciones_Listado_Modelo>();
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO.Add(new INTERNO_Filtro_Opciones_Listado_Modelo(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion, Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE.Descripcion));
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.LISTADO.Add(new INTERNO_Filtro_Opciones_Listado_Modelo(Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion, Variables_Expedientes.G_MDL_DEMANDANTEDEMANDADO_DEMANDADO.Descripcion));
mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO.TIPO = 1;
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.DemandanteDemandado_Texto), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.DemandanteDemandado_Texto), "Demandante/Demandado", Enumerados.G_ENUM_TIPOSDATOS.OPCIONES, false, 150, true, false, true, false, "", null, false, mdl_INTERNO_Filtro_Opciones_Modelo_DEMANDANTEDEMANDADO));
//Asesor
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.idAsesor), nameof(EPD_Asesores), nameof(EPD_Asesores.id), nameof(EPD_Asesores.codigo), nameof(EPD_Asesores.nombre), nameof(EPD_Asesores.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Asesor), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Asesor), "Asesor", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_ASESOR));
//Demandado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.idDemandado), nameof(EPD_Demandados), nameof(EPD_Demandados.id), nameof(EPD_Demandados.codigo), nameof(EPD_Demandados.nombre), nameof(EPD_Demandados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Demandado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Demandado), "Demandado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DEMANDADO));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Expedientes_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Expedientes_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_EXPEDIENTES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_EXPEDIENTES + "_P_Demandado";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Expedientes_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,138 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Exferia_Aplicacion.General.Enumerados;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Juzgados : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Juzgados()
{
RellenarColumnas();
}
private void RellenarColumnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.id), "id", G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.codigo), "Código", G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.descripcion), "Descripción", G_ENUM_TIPOSDATOS.TEXT, false, 250, true, true, true, false, "", null));
//######################################################################
//Direccion Envio
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_NombreVia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_NombreVia), "DEnv Dirección", G_ENUM_TIPOSDATOS.TEXT, false, 300, true, false, false, true, "", null));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_CodigoPostal), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_CodigoPostal), "DEnv Codigo Postal", G_ENUM_TIPOSDATOS.TEXT, false, 90, true, false, false, true, "", null));
//Pais
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_PAIS = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_IdPais), nameof(GEN_Paises), nameof(GEN_Paises.id), nameof(GEN_Paises.codigo_ISO2D), nameof(GEN_Paises.descripcion), nameof(GEN_Paises.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Pais), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Pais), "DEnv País", G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_PAIS));
//Provincia
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_PROVINCIA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_IdProvincia), nameof(GEN_Provincias), nameof(GEN_Provincias.id), nameof(GEN_Provincias.codigo), nameof(GEN_Provincias.descripcion), nameof(GEN_Provincias.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Provincia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Provincia), "DEnv Provincia", G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_PROVINCIA));
//Municipio
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_MUNICIPIO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_IdMunicipio), nameof(GEN_Municipios), nameof(GEN_Municipios.id), nameof(GEN_Municipios.codigoINE), nameof(GEN_Municipios.descripcion), nameof(GEN_Municipios.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Municipio), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Municipio), "DEnv Muncipio", G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, true, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_MUNICIPIO));
//Poblacion
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_POBLACION = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_IdPoblacion), nameof(GEN_Poblaciones), nameof(GEN_Poblaciones.id), nameof(GEN_Poblaciones.codigo), nameof(GEN_Poblaciones.descripcion), nameof(GEN_Poblaciones.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Poblacion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Juzgados_Listado_Modelo.DireccionEnvio_Poblacion), "DEnv Población", G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, true, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DireccionEnvio_POBLACION));
//######################################################################
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_JUZGADOS);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_JUZGADOS;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Juzgados_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,121 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Materias : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Materias()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Materias_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Materias_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//codigo
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Materias_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Materias_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.LONG_TEXT, false, 90, true, true, true, false, "", null));
//descripcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Materias_Listado_Modelo.descripcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Materias_Listado_Modelo.descripcion), "Descripción", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Materias_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Materias_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_MATERIAS);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_MATERIAS;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Materias_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,140 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Procedimientos : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Procedimientos()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero), "Número", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 90, true, true, true, false, "", null));
//Materia
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idMateria), nameof(EPD_Materias), nameof(EPD_Materias.id), nameof(EPD_Materias.codigo), nameof(EPD_Materias.descripcion), nameof(EPD_Materias.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Materia), "Materia", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true,true,true, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA));
//numeroEjecucion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numeroEjecucion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numeroEjecucion), "Número ejecución", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 110, true, false, true, false, "", null));
//Expediente
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EXPEDIENTE = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idExpediente), nameof(EPD_Expedientes), nameof(EPD_Expedientes.id), nameof(EPD_Expedientes.codigo), nameof(EPD_Expedientes.descripcion), nameof(EPD_Expedientes.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Expediente), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Expediente), "Expediente", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EXPEDIENTE));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
//Juzgado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idJuzgado), nameof(EPD_Juzgados), nameof(EPD_Juzgados.id), nameof(EPD_Juzgados.codigo), nameof(EPD_Juzgados.descripcion), nameof(EPD_Juzgados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Juzgado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Juzgado), "Juzgado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_PROCEDIMIENTOS);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_PROCEDIMIENTOS;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,118 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_ProcedimientosNotificaciones : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_ProcedimientosNotificaciones()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//fechaRecepcion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.fechaRecepcion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.fechaRecepcion), "Fecha recepción", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 110, true, true, true, false, "", null));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 400, true, true, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_PROCEDIMIENTOSNOTIFICACIONES);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_PROCEDIMIENTOSNOTIFICACIONES;
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.fechaRecepcion);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,139 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Procedimientos_P_Actor : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Procedimientos_P_Actor()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero), "Número", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 90, true, true, true, false, "", null));
//Materia
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idMateria), nameof(EPD_Materias), nameof(EPD_Materias.id), nameof(EPD_Materias.codigo), nameof(EPD_Materias.descripcion), nameof(EPD_Materias.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Materia), "Materia", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true,true,true, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA));
//numeroEjecucion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numeroEjecucion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numeroEjecucion), "Número ejecución", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 110, true, false, true, false, "", null));
//Expediente
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EXPEDIENTE = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idExpediente), nameof(EPD_Expedientes), nameof(EPD_Expedientes.id), nameof(EPD_Expedientes.codigo), nameof(EPD_Expedientes.descripcion), nameof(EPD_Expedientes.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Expediente), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Expediente), "Expediente", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EXPEDIENTE));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
//Juzgado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idJuzgado), nameof(EPD_Juzgados), nameof(EPD_Juzgados.id), nameof(EPD_Juzgados.codigo), nameof(EPD_Juzgados.descripcion), nameof(EPD_Juzgados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Juzgado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Juzgado), "Juzgado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_PROCEDIMIENTOS);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_PROCEDIMIENTOS + "_P_Actor";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,139 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.Listados
{
public class ABS_Listado_EPD_Procedimientos_P_Demandado : ABS_Listado
{
private Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//Constructor
public ABS_Listado_EPD_Procedimientos_P_Demandado()
{
Rellenar_Columnas();
}
private void Rellenar_Columnas()
{
//id
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//numero
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero), "Número", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 90, true, true, true, false, "", null));
//Materia
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idMateria), nameof(EPD_Materias), nameof(EPD_Materias.id), nameof(EPD_Materias.codigo), nameof(EPD_Materias.descripcion), nameof(EPD_Materias.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Materia), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Materia), "Materia", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true,true,true, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_MATERIA));
//numeroEjecucion
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numeroEjecucion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numeroEjecucion), "Número ejecución", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 110, true, false, true, false, "", null));
//Expediente
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EXPEDIENTE = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idExpediente), nameof(EPD_Expedientes), nameof(EPD_Expedientes.id), nameof(EPD_Expedientes.codigo), nameof(EPD_Expedientes.descripcion), nameof(EPD_Expedientes.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Expediente), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Expediente), "Expediente", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EXPEDIENTE));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
//Juzgado
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.idJuzgado), nameof(EPD_Juzgados), nameof(EPD_Juzgados.id), nameof(EPD_Juzgados.codigo), nameof(EPD_Juzgados.descripcion), nameof(EPD_Juzgados.fechaBorrado));
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Juzgado), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Juzgado), "Juzgado", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_JUZGADO));
//Actores
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Actores), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.Actores), "Actores", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null, false));
//observaciones
g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.observaciones), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.observaciones), "Observaciones", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, false, true, false, "", null));
}
public override List<dynamic> LISTADO()
{
return Registros;
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return Datos_Generales.PRV_Opciones_Buscar_Detalles(Variables.G_STR_OPCION_EPD_PROCEDIMIENTOS);
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_PROCEDIMIENTOS + "_P_Demandado";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
return g_dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Procedimientos_Listado_Modelo.numero);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,123 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_EntityFramework;
using Exferia_Expedientes._0_Modelos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.ListadosSeleccion
{
class ABS_ListadoSeleccion_Actores : ABS_ListadoSeleccion
{
public override List<dynamic> LISTADO()
{
return Registros;
}
public override string NOMBRELISTADO_ALMACENARCONFIGURACION()
{
return Variables.G_STR_OPCION_EPD_ACTORES + "_Seleccion";
}
public override Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> LISTADO_COLUMNAS()
{
Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo> dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo = new Dictionary<string, INTERNO_ABS_Listado_ColumnasDatos_Modelo>();
//id
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.id), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(true, nameof(INTERNO_EPD_Actores_Listado_Modelo.id), "id", Enumerados.G_ENUM_TIPOSDATOS.LONG, true, 0, false, false, true, false, "", null));
//Seleccionar
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Seleccionar), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Seleccionar), "Seleccionar", Enumerados.G_ENUM_TIPOSDATOS.SELECCIONAR, false, 90, false, true, true, false, "", null));
//codigo
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo), "Código", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 90, true, true, true, false, "", null));
//nombre
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.nombre), "Nombre", Enumerados.G_ENUM_TIPOSDATOS.TEXT, false, 150, true, true, true, false, "", null));
//fechaAlta
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaAlta), "Fecha Alta", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//fechaBaja
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.fechaBaja), "Fecha Baja", Enumerados.G_ENUM_TIPOSDATOS.DATETIME, false, 70, true, false, false, false, "", null));
//Delegacion
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idDelegacion), nameof(GEN_Delegaciones), nameof(GEN_Delegaciones.id), nameof(GEN_Delegaciones.codigo), nameof(GEN_Delegaciones.descripcion), nameof(GEN_Delegaciones.fechaBorrado));
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Delegacion), "Delegación", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_DELEGACION));
//Empresa
INTERNO_Filtro_Relacionadas_Modelo mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA = new INTERNO_Filtro_Relacionadas_Modelo(nameof(INTERNO_EPD_Actores_Listado_Modelo.idEmpresa), nameof(GEN_Empresas), nameof(GEN_Empresas.id), nameof(GEN_Empresas.codigo), nameof(GEN_Empresas.descripcion), nameof(GEN_Empresas.fechaBorrado));
dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Add(nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), new INTERNO_ABS_Listado_ColumnasDatos_Modelo(false, nameof(INTERNO_EPD_Actores_Listado_Modelo.Empresa), "Empresa", Enumerados.G_ENUM_TIPOSDATOS.RELACIONADA, false, 250, true, false, false, true, "", null, false, null, mdl_INTERNO_Filtro_Relacionadas_Modelo_EMPRESA));
return dct_INTERNO_ABS_Listado_ColumnasDatos_Modelo;
}
public override string ORDENACION_NOMBRECOLUMNA_PORDEFECTO()
{
return nameof(INTERNO_EPD_Actores_Listado_Modelo.codigo);
}
public override string ORDENACION_TIPO_PORDEFECTO()
{
return "0";
}
public override INTERNO_OpcionesDetalle_Modelo DATOS_OPCION()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_1()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_2()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_3()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_4()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_5()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_6()
{
return null;
}
public override INTERNO_Listado_BotonesAuxiliares_Modelo BOTONAUXILIAR_7()
{
return null;
}
public override List<INTERNO_ArbolSecundarioSeleccion_Modelo> LISTADO_ARBOLSECUNDARIOSELECCION()
{
return null;
}
public override List<INTERNO_Listado_Paginado_Filtro_Modelo> FILTRADO_PARAPAGINADO()
{
return null;
}
public override List<string> LISTADOCAMPOS_ENVIAR_A_MANTENIMIENTO()
{
return null;
}
}
}

View File

@ -0,0 +1,125 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Herencia.Abstractas;
using Exferia_Aplicacion.Modelos_MantenimientoSimple;
using Exferia_EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes._3_Vistas.MantenimientoSimple
{
class ABS_MantenimientoSimple_EPD_Materias : ABS_MantenimientoSimple
{
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo AUXILIAR_1()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo AUXILIAR_2()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_Fecha_Modelo AUXILIAR_3()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_Fecha_Modelo AUXILIAR_4()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_ComboBox_Modelo AUXILIAR_5()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_ComboBox_Modelo AUXILIAR_6()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_CheckBox_Modelo AUXILIAR_7()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_CheckBox_Modelo AUXILIAR_8()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo AUXILIAR_9()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo AUXILIAR_10()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo AUXILIAR_11()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo AUXILIAR_12()
{
return null;
}
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo CODIGO()
{
return new INTERNO_MantenimientoSimple_Controles_TextBox_Modelo(true, "Código", true, 10, Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos, 0, "");
}
public override INTERNO_MantenimientoSimple_Controles_TextBox_Modelo DESCRIPCION()
{
return new INTERNO_MantenimientoSimple_Controles_TextBox_Modelo(true, "Descripción", true, 50, Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos, 0, "");
}
public override INTERNO_MantenimientoSimple_Controles_F3_Modelo F3()
{
return null;
}
public override string NOMBRE_CAMPO_CODIGO()
{
return nameof(EPD_Materias.codigo);
}
public override string NOMBRE_CAMPO_ID()
{
return nameof(EPD_Materias.id);
}
public override string NOMBRE_CAMPO_IDEMPRESA()
{
return nameof(EPD_Materias.idEmpresa);
}
public override string NOMBRE_LIBRERIA()
{
return Variables.G_STR_LIBRERIA_EXPEDIENTES;
}
public override string NOMBRE_TABLA()
{
return nameof(EPD_Materias);
}
public override string OPCION()
{
return Variables.G_STR_OPCION_EPD_MATERIAS;
}
public override bool TIENE_FECHABORRADO()
{
return true;
}
}
}

View File

@ -0,0 +1,975 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class PI_Citaciones
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.exferia_TabControl1 = new Exferia_Controles.Exferia_TabControl();
this.tbp_Asesores = new System.Windows.Forms.TabPage();
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo = new Exferia_Controles.Exferia_Button();
this.panel1 = new System.Windows.Forms.Panel();
this.exferia_Label_SinColor1 = new Exferia_Controles.Exferia_Label_SinColor();
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas = new Exferia_Controles.Exferia_CheckBox();
this.exferia_Label8 = new Exferia_Controles.Exferia_Label();
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta = new Exferia_Controles.Exferia_CheckBox();
this.ex_txt_PI_Citaciones_Asesores_Buscar = new Exferia_Controles.Exferia_TextBox();
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja = new Exferia_Controles.Exferia_CheckBox();
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos = new Exferia_Controles.Exferia_Button();
this.ex_dgv_PI_Citaciones_Asesores = new Exferia_Controles.Exferia_DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.Nombre = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tbp_Juzgados = new System.Windows.Forms.TabPage();
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo = new Exferia_Controles.Exferia_Button();
this.panel3 = new System.Windows.Forms.Panel();
this.exferia_Label_SinColor2 = new Exferia_Controles.Exferia_Label_SinColor();
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas = new Exferia_Controles.Exferia_CheckBox();
this.exferia_Label1 = new Exferia_Controles.Exferia_Label();
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta = new Exferia_Controles.Exferia_CheckBox();
this.ex_txt_PI_Citaciones_Juzgados_Buscar = new Exferia_Controles.Exferia_TextBox();
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos = new Exferia_Controles.Exferia_Button();
this.ex_dgv_PI_Citaciones_Juzgados = new Exferia_Controles.Exferia_DataGridView();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewCheckBoxColumn1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ex_lbl_PI_Citaciones_HoraFin = new Exferia_Controles.Exferia_Label();
this.ex_txt_PI_Citaciones_HoraFin = new Exferia_Controles.Exferia_TextBox_ConMascara();
this.ex_usc_PI_Citaciones_FechaFin = new Exferia_Controles.Exferia_FechaSeleccion();
this.ex_lbl_PI_Citaciones_HoraInicio = new Exferia_Controles.Exferia_Label();
this.ex_txt_PI_Citaciones_HoraInicio = new Exferia_Controles.Exferia_TextBox_ConMascara();
this.ex_usc_PI_Citaciones_FechaInicio = new Exferia_Controles.Exferia_FechaSeleccion();
this.ex_tbc_PI_Citaciones_Citaciones = new Exferia_Controles.Exferia_TabControl();
this.ex_btn_PI_Citaciones_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_btn_PI_Citaciones_Generar = new Exferia_Controles.Exferia_Button();
this.ex_rdb_PI_Citaciones_Agrupado_Asesor = new Exferia_Controles.Exferia_RadioButton();
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado = new Exferia_Controles.Exferia_RadioButton();
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas = new Exferia_Controles.Exferia_Button();
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja = new Exferia_Controles.Exferia_Button();
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar = new Exferia_Controles.Exferia_RadioButton();
this.spl_P_Citaciones_Principal = new System.Windows.Forms.SplitContainer();
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas = new Exferia_Controles.Exferia_Button();
this.exferia_TabControl1.SuspendLayout();
this.tbp_Asesores.SuspendLayout();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_PI_Citaciones_Asesores)).BeginInit();
this.tbp_Juzgados.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_PI_Citaciones_Juzgados)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.spl_P_Citaciones_Principal)).BeginInit();
this.spl_P_Citaciones_Principal.Panel1.SuspendLayout();
this.spl_P_Citaciones_Principal.Panel2.SuspendLayout();
this.spl_P_Citaciones_Principal.SuspendLayout();
this.SuspendLayout();
//
// exferia_TabControl1
//
this.exferia_TabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.exferia_TabControl1.Controls.Add(this.tbp_Asesores);
this.exferia_TabControl1.Controls.Add(this.tbp_Juzgados);
this.exferia_TabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black;
this.exferia_TabControl1.Location = new System.Drawing.Point(-1, 129);
this.exferia_TabControl1.Name = "exferia_TabControl1";
this.exferia_TabControl1.SelectedIndex = 0;
this.exferia_TabControl1.Size = new System.Drawing.Size(347, 428);
this.exferia_TabControl1.TabIndex = 39;
//
// tbp_Asesores
//
this.tbp_Asesores.Controls.Add(this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo);
this.tbp_Asesores.Controls.Add(this.panel1);
this.tbp_Asesores.Controls.Add(this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja);
this.tbp_Asesores.Controls.Add(this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos);
this.tbp_Asesores.Controls.Add(this.ex_dgv_PI_Citaciones_Asesores);
this.tbp_Asesores.Location = new System.Drawing.Point(4, 22);
this.tbp_Asesores.Name = "tbp_Asesores";
this.tbp_Asesores.Padding = new System.Windows.Forms.Padding(3);
this.tbp_Asesores.Size = new System.Drawing.Size(339, 402);
this.tbp_Asesores.TabIndex = 0;
this.tbp_Asesores.Text = "Asesores";
this.tbp_Asesores.UseVisualStyleBackColor = true;
//
// ex_btn_PI_Citaciones_Asesores_SeleccionarTodo
//
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_MARCAR_TODOS_P;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Exferia_Button_ToolTip = "Seleccionar todo";
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Location = new System.Drawing.Point(277, 89);
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Name = "ex_btn_PI_Citaciones_Asesores_SeleccionarTodo";
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Size = new System.Drawing.Size(25, 25);
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.TabIndex = 1041;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.TabStop = false;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_Asesores_SeleccionarTodo_Click);
//
// panel1
//
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.exferia_Label_SinColor1);
this.panel1.Controls.Add(this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas);
this.panel1.Controls.Add(this.exferia_Label8);
this.panel1.Controls.Add(this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta);
this.panel1.Controls.Add(this.ex_txt_PI_Citaciones_Asesores_Buscar);
this.panel1.Location = new System.Drawing.Point(6, 6);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(327, 76);
this.panel1.TabIndex = 1043;
//
// exferia_Label_SinColor1
//
this.exferia_Label_SinColor1.AutoSize = true;
this.exferia_Label_SinColor1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label_SinColor1.Location = new System.Drawing.Point(4, 5);
this.exferia_Label_SinColor1.Name = "exferia_Label_SinColor1";
this.exferia_Label_SinColor1.Size = new System.Drawing.Size(157, 16);
this.exferia_Label_SinColor1.TabIndex = 1038;
this.exferia_Label_SinColor1.Text = "FILTRAR ASESORES";
//
// ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas
//
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.AutoSize = true;
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.BackColor = System.Drawing.Color.Transparent;
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Exferia_CheckBox_Bloqueable = true;
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Exferia_CheckBox_Obligatorio = false;
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Exferia_CheckBox_ToolTip = "";
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.ForeColor = System.Drawing.SystemColors.ControlText;
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Location = new System.Drawing.Point(137, 53);
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Name = "ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas";
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Size = new System.Drawing.Size(185, 17);
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.TabIndex = 1037;
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.Text = "Sensible a mayúsculas y minúsculas";
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.UseVisualStyleBackColor = true;
this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas.CheckedChanged += new System.EventHandler(this.ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas_CheckedChanged);
//
// exferia_Label8
//
this.exferia_Label8.AutoSize = true;
this.exferia_Label8.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label8.Location = new System.Drawing.Point(5, 30);
this.exferia_Label8.Name = "exferia_Label8";
this.exferia_Label8.Size = new System.Drawing.Size(38, 13);
this.exferia_Label8.TabIndex = 1034;
this.exferia_Label8.Text = "Buscar";
//
// ex_chk_PI_Citaciones_Asesores_PalabraCompleta
//
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.AutoSize = true;
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.BackColor = System.Drawing.Color.Transparent;
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Exferia_CheckBox_Bloqueable = true;
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Exferia_CheckBox_Obligatorio = false;
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Exferia_CheckBox_ToolTip = "";
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.ForeColor = System.Drawing.SystemColors.ControlText;
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Location = new System.Drawing.Point(8, 53);
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Name = "ex_chk_PI_Citaciones_Asesores_PalabraCompleta";
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Size = new System.Drawing.Size(105, 17);
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.TabIndex = 1036;
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.Text = "Palabra completa";
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.UseVisualStyleBackColor = true;
this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta.CheckedChanged += new System.EventHandler(this.ex_chk_PI_Citaciones_Asesores_PalabraCompleta_CheckedChanged);
//
// ex_txt_PI_Citaciones_Asesores_Buscar
//
this.ex_txt_PI_Citaciones_Asesores_Buscar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Bloqueable = true;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_MaxLength = 32767;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Multiline = false;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_NoBloquear = true;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Obligatorio = false;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_ReadOnly = false;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_txt_PI_Citaciones_Asesores_Buscar.Location = new System.Drawing.Point(47, 27);
this.ex_txt_PI_Citaciones_Asesores_Buscar.Name = "ex_txt_PI_Citaciones_Asesores_Buscar";
this.ex_txt_PI_Citaciones_Asesores_Buscar.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_PI_Citaciones_Asesores_Buscar.Size = new System.Drawing.Size(275, 20);
this.ex_txt_PI_Citaciones_Asesores_Buscar.TabIndex = 1035;
this.ex_txt_PI_Citaciones_Asesores_Buscar.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.ex_txt_PI_Citaciones_Asesores_Buscar_Exferia_TextBox_Evento_TextChanged);
//
// ex_chk_PI_Citaciones_Asesores_DadosDeBaja
//
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.AutoSize = true;
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.BackColor = System.Drawing.Color.Transparent;
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.Exferia_CheckBox_Bloqueable = true;
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.Exferia_CheckBox_Obligatorio = false;
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.Exferia_CheckBox_ToolTip = "";
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.ForeColor = System.Drawing.SystemColors.ControlText;
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.Location = new System.Drawing.Point(7, 95);
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.Name = "ex_chk_PI_Citaciones_Asesores_DadosDeBaja";
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.Size = new System.Drawing.Size(146, 17);
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.TabIndex = 1040;
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.Text = "Mostrar Asesores de Baja";
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.UseVisualStyleBackColor = true;
this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja.CheckedChanged += new System.EventHandler(this.ex_chk_PI_Citaciones_Asesores_DadosDeBaja_CheckedChanged);
//
// ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos
//
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_DESMARCAR_TODOS_P;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Exferia_Button_ToolTip = "Desseleccionar todo";
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Location = new System.Drawing.Point(308, 89);
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Name = "ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos";
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Size = new System.Drawing.Size(25, 25);
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.TabIndex = 1042;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.TabStop = false;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos_Click);
//
// ex_dgv_PI_Citaciones_Asesores
//
this.ex_dgv_PI_Citaciones_Asesores.AllowUserToAddRows = false;
this.ex_dgv_PI_Citaciones_Asesores.AllowUserToDeleteRows = false;
this.ex_dgv_PI_Citaciones_Asesores.AllowUserToResizeColumns = false;
this.ex_dgv_PI_Citaciones_Asesores.AllowUserToResizeRows = false;
this.ex_dgv_PI_Citaciones_Asesores.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_PI_Citaciones_Asesores.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_PI_Citaciones_Asesores.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.ex_dgv_PI_Citaciones_Asesores.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn1,
this.Column1,
this.Nombre});
this.ex_dgv_PI_Citaciones_Asesores.EnableHeadersVisualStyles = false;
this.ex_dgv_PI_Citaciones_Asesores.Location = new System.Drawing.Point(5, 119);
this.ex_dgv_PI_Citaciones_Asesores.MultiSelect = false;
this.ex_dgv_PI_Citaciones_Asesores.Name = "ex_dgv_PI_Citaciones_Asesores";
this.ex_dgv_PI_Citaciones_Asesores.ReadOnly = true;
this.ex_dgv_PI_Citaciones_Asesores.RowHeadersVisible = false;
this.ex_dgv_PI_Citaciones_Asesores.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_PI_Citaciones_Asesores.Size = new System.Drawing.Size(328, 277);
this.ex_dgv_PI_Citaciones_Asesores.TabIndex = 1039;
this.ex_dgv_PI_Citaciones_Asesores.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ex_dgv_PI_Citaciones_Asesores_CellContentClick);
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.dataGridViewTextBoxColumn1.FillWeight = 20F;
this.dataGridViewTextBoxColumn1.Frozen = true;
this.dataGridViewTextBoxColumn1.HeaderText = "id";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
this.dataGridViewTextBoxColumn1.Visible = false;
this.dataGridViewTextBoxColumn1.Width = 40;
//
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.Column1.FillWeight = 40F;
this.Column1.Frozen = true;
this.Column1.HeaderText = "";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
this.Column1.Width = 40;
//
// Nombre
//
this.Nombre.FillWeight = 190F;
this.Nombre.Frozen = true;
this.Nombre.HeaderText = "Nombre";
this.Nombre.Name = "Nombre";
this.Nombre.ReadOnly = true;
this.Nombre.Width = 260;
//
// tbp_Juzgados
//
this.tbp_Juzgados.Controls.Add(this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo);
this.tbp_Juzgados.Controls.Add(this.panel3);
this.tbp_Juzgados.Controls.Add(this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos);
this.tbp_Juzgados.Controls.Add(this.ex_dgv_PI_Citaciones_Juzgados);
this.tbp_Juzgados.Location = new System.Drawing.Point(4, 22);
this.tbp_Juzgados.Name = "tbp_Juzgados";
this.tbp_Juzgados.Padding = new System.Windows.Forms.Padding(3);
this.tbp_Juzgados.Size = new System.Drawing.Size(339, 402);
this.tbp_Juzgados.TabIndex = 1;
this.tbp_Juzgados.Text = "Juzgados";
this.tbp_Juzgados.UseVisualStyleBackColor = true;
//
// ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo
//
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_MARCAR_TODOS_P;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Exferia_Button_ToolTip = "Seleccionar todo";
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Location = new System.Drawing.Point(277, 89);
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Name = "ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo";
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Size = new System.Drawing.Size(25, 25);
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.TabIndex = 1046;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.TabStop = false;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo_Click);
//
// panel3
//
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel3.Controls.Add(this.exferia_Label_SinColor2);
this.panel3.Controls.Add(this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas);
this.panel3.Controls.Add(this.exferia_Label1);
this.panel3.Controls.Add(this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta);
this.panel3.Controls.Add(this.ex_txt_PI_Citaciones_Juzgados_Buscar);
this.panel3.Location = new System.Drawing.Point(6, 6);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(327, 76);
this.panel3.TabIndex = 1048;
//
// exferia_Label_SinColor2
//
this.exferia_Label_SinColor2.AutoSize = true;
this.exferia_Label_SinColor2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label_SinColor2.Location = new System.Drawing.Point(4, 5);
this.exferia_Label_SinColor2.Name = "exferia_Label_SinColor2";
this.exferia_Label_SinColor2.Size = new System.Drawing.Size(156, 16);
this.exferia_Label_SinColor2.TabIndex = 1038;
this.exferia_Label_SinColor2.Text = "FILTRAR JUZGADOS";
//
// ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas
//
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.AutoSize = true;
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.BackColor = System.Drawing.Color.Transparent;
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Exferia_CheckBox_Bloqueable = true;
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Exferia_CheckBox_Obligatorio = false;
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Exferia_CheckBox_ToolTip = "";
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.ForeColor = System.Drawing.SystemColors.ControlText;
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Location = new System.Drawing.Point(137, 53);
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Name = "ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas";
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Size = new System.Drawing.Size(185, 17);
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.TabIndex = 1037;
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.Text = "Sensible a mayúsculas y minúsculas";
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.UseVisualStyleBackColor = true;
this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas.CheckedChanged += new System.EventHandler(this.ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas_CheckedChanged);
//
// exferia_Label1
//
this.exferia_Label1.AutoSize = true;
this.exferia_Label1.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label1.Location = new System.Drawing.Point(5, 30);
this.exferia_Label1.Name = "exferia_Label1";
this.exferia_Label1.Size = new System.Drawing.Size(38, 13);
this.exferia_Label1.TabIndex = 1034;
this.exferia_Label1.Text = "Buscar";
//
// ex_chk_PI_Citaciones_Juzgados_PalabraCompleta
//
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.AutoSize = true;
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.BackColor = System.Drawing.Color.Transparent;
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Exferia_CheckBox_Bloqueable = true;
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Exferia_CheckBox_Obligatorio = false;
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Exferia_CheckBox_ToolTip = "";
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.ForeColor = System.Drawing.SystemColors.ControlText;
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Location = new System.Drawing.Point(8, 53);
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Name = "ex_chk_PI_Citaciones_Juzgados_PalabraCompleta";
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Size = new System.Drawing.Size(105, 17);
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.TabIndex = 1036;
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.Text = "Palabra completa";
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.UseVisualStyleBackColor = true;
this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta.CheckedChanged += new System.EventHandler(this.ex_chk_PI_Citaciones_Juzgados_PalabraCompleta_CheckedChanged);
//
// ex_txt_PI_Citaciones_Juzgados_Buscar
//
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Bloqueable = true;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_MaxLength = 32767;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Multiline = false;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_NoBloquear = true;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Obligatorio = false;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_ReadOnly = false;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Location = new System.Drawing.Point(47, 27);
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Name = "ex_txt_PI_Citaciones_Juzgados_Buscar";
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Size = new System.Drawing.Size(275, 20);
this.ex_txt_PI_Citaciones_Juzgados_Buscar.TabIndex = 1035;
this.ex_txt_PI_Citaciones_Juzgados_Buscar.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.ex_txt_PI_Citaciones_Juzgados_Buscar_Exferia_TextBox_Evento_TextChanged);
//
// ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos
//
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_DESMARCAR_TODOS_P;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Exferia_Button_ToolTip = "Desseleccionar todo";
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Location = new System.Drawing.Point(308, 89);
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Name = "ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos";
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Size = new System.Drawing.Size(25, 25);
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.TabIndex = 1047;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.TabStop = false;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos_Click);
//
// ex_dgv_PI_Citaciones_Juzgados
//
this.ex_dgv_PI_Citaciones_Juzgados.AllowUserToAddRows = false;
this.ex_dgv_PI_Citaciones_Juzgados.AllowUserToDeleteRows = false;
this.ex_dgv_PI_Citaciones_Juzgados.AllowUserToResizeColumns = false;
this.ex_dgv_PI_Citaciones_Juzgados.AllowUserToResizeRows = false;
this.ex_dgv_PI_Citaciones_Juzgados.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_PI_Citaciones_Juzgados.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_PI_Citaciones_Juzgados.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.ex_dgv_PI_Citaciones_Juzgados.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn2,
this.dataGridViewCheckBoxColumn1,
this.dataGridViewTextBoxColumn3});
this.ex_dgv_PI_Citaciones_Juzgados.EnableHeadersVisualStyles = false;
this.ex_dgv_PI_Citaciones_Juzgados.Location = new System.Drawing.Point(5, 119);
this.ex_dgv_PI_Citaciones_Juzgados.MultiSelect = false;
this.ex_dgv_PI_Citaciones_Juzgados.Name = "ex_dgv_PI_Citaciones_Juzgados";
this.ex_dgv_PI_Citaciones_Juzgados.ReadOnly = true;
this.ex_dgv_PI_Citaciones_Juzgados.RowHeadersVisible = false;
this.ex_dgv_PI_Citaciones_Juzgados.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_PI_Citaciones_Juzgados.Size = new System.Drawing.Size(328, 309);
this.ex_dgv_PI_Citaciones_Juzgados.TabIndex = 1044;
this.ex_dgv_PI_Citaciones_Juzgados.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ex_dgv_PI_Citaciones_Juzgados_CellContentClick);
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.dataGridViewTextBoxColumn2.FillWeight = 20F;
this.dataGridViewTextBoxColumn2.Frozen = true;
this.dataGridViewTextBoxColumn2.HeaderText = "id";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
this.dataGridViewTextBoxColumn2.Visible = false;
this.dataGridViewTextBoxColumn2.Width = 40;
//
// dataGridViewCheckBoxColumn1
//
this.dataGridViewCheckBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
this.dataGridViewCheckBoxColumn1.FillWeight = 40F;
this.dataGridViewCheckBoxColumn1.Frozen = true;
this.dataGridViewCheckBoxColumn1.HeaderText = "";
this.dataGridViewCheckBoxColumn1.Name = "dataGridViewCheckBoxColumn1";
this.dataGridViewCheckBoxColumn1.ReadOnly = true;
this.dataGridViewCheckBoxColumn1.Width = 40;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.FillWeight = 190F;
this.dataGridViewTextBoxColumn3.Frozen = true;
this.dataGridViewTextBoxColumn3.HeaderText = "Descripción";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
this.dataGridViewTextBoxColumn3.Width = 260;
//
// ex_lbl_PI_Citaciones_HoraFin
//
this.ex_lbl_PI_Citaciones_HoraFin.AutoSize = true;
this.ex_lbl_PI_Citaciones_HoraFin.Location = new System.Drawing.Point(199, 34);
this.ex_lbl_PI_Citaciones_HoraFin.Name = "ex_lbl_PI_Citaciones_HoraFin";
this.ex_lbl_PI_Citaciones_HoraFin.Size = new System.Drawing.Size(47, 13);
this.ex_lbl_PI_Citaciones_HoraFin.TabIndex = 413;
this.ex_lbl_PI_Citaciones_HoraFin.Text = "Hora Fin";
//
// ex_txt_PI_Citaciones_HoraFin
//
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_Mask = "00:00";
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_MaxLength = 32767;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_Multiline = false;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_NoBloquear = true;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_Obligatorio = true;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_PasswordChar = '\0';
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_ReadOnly = false;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_SelectionLength = 0;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_SelectionStart = 0;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_TabStop = true;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_Texto_Inicial = " :";
this.ex_txt_PI_Citaciones_HoraFin.Exferia_TextBox_ConMascara_UseSystemPasswordChar = false;
this.ex_txt_PI_Citaciones_HoraFin.Location = new System.Drawing.Point(263, 28);
this.ex_txt_PI_Citaciones_HoraFin.Name = "ex_txt_PI_Citaciones_HoraFin";
this.ex_txt_PI_Citaciones_HoraFin.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_PI_Citaciones_HoraFin.Size = new System.Drawing.Size(46, 22);
this.ex_txt_PI_Citaciones_HoraFin.TabIndex = 411;
this.ex_txt_PI_Citaciones_HoraFin.Text = " :";
//
// ex_usc_PI_Citaciones_FechaFin
//
this.ex_usc_PI_Citaciones_FechaFin.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_PI_Citaciones_FechaFin.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_PI_Citaciones_FechaFin.Exferia_FechaSeleccion_Descripcion = "Fecha Fin";
this.ex_usc_PI_Citaciones_FechaFin.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_PI_Citaciones_FechaFin.Exferia_FechaSeleccion_Obligatorio = true;
this.ex_usc_PI_Citaciones_FechaFin.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_PI_Citaciones_FechaFin.Location = new System.Drawing.Point(3, 27);
this.ex_usc_PI_Citaciones_FechaFin.Name = "ex_usc_PI_Citaciones_FechaFin";
this.ex_usc_PI_Citaciones_FechaFin.Size = new System.Drawing.Size(187, 22);
this.ex_usc_PI_Citaciones_FechaFin.TabIndex = 410;
//
// ex_lbl_PI_Citaciones_HoraInicio
//
this.ex_lbl_PI_Citaciones_HoraInicio.AutoSize = true;
this.ex_lbl_PI_Citaciones_HoraInicio.Location = new System.Drawing.Point(199, 9);
this.ex_lbl_PI_Citaciones_HoraInicio.Name = "ex_lbl_PI_Citaciones_HoraInicio";
this.ex_lbl_PI_Citaciones_HoraInicio.Size = new System.Drawing.Size(58, 13);
this.ex_lbl_PI_Citaciones_HoraInicio.TabIndex = 412;
this.ex_lbl_PI_Citaciones_HoraInicio.Text = "Hora Inicio";
//
// ex_txt_PI_Citaciones_HoraInicio
//
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_Mask = "00:00";
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_MaxLength = 32767;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_Multiline = false;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_NoBloquear = true;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_Obligatorio = true;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_PasswordChar = '\0';
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_ReadOnly = false;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_SelectionLength = 0;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_SelectionStart = 0;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_TabStop = true;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_Texto_Inicial = " :";
this.ex_txt_PI_Citaciones_HoraInicio.Exferia_TextBox_ConMascara_UseSystemPasswordChar = false;
this.ex_txt_PI_Citaciones_HoraInicio.Location = new System.Drawing.Point(263, 3);
this.ex_txt_PI_Citaciones_HoraInicio.Name = "ex_txt_PI_Citaciones_HoraInicio";
this.ex_txt_PI_Citaciones_HoraInicio.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_PI_Citaciones_HoraInicio.Size = new System.Drawing.Size(46, 22);
this.ex_txt_PI_Citaciones_HoraInicio.TabIndex = 409;
this.ex_txt_PI_Citaciones_HoraInicio.Text = " :";
//
// ex_usc_PI_Citaciones_FechaInicio
//
this.ex_usc_PI_Citaciones_FechaInicio.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_PI_Citaciones_FechaInicio.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_PI_Citaciones_FechaInicio.Exferia_FechaSeleccion_Descripcion = "Fecha Inicio";
this.ex_usc_PI_Citaciones_FechaInicio.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_PI_Citaciones_FechaInicio.Exferia_FechaSeleccion_Obligatorio = true;
this.ex_usc_PI_Citaciones_FechaInicio.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_PI_Citaciones_FechaInicio.Location = new System.Drawing.Point(3, 3);
this.ex_usc_PI_Citaciones_FechaInicio.Name = "ex_usc_PI_Citaciones_FechaInicio";
this.ex_usc_PI_Citaciones_FechaInicio.Size = new System.Drawing.Size(187, 22);
this.ex_usc_PI_Citaciones_FechaInicio.TabIndex = 408;
//
// ex_tbc_PI_Citaciones_Citaciones
//
this.ex_tbc_PI_Citaciones_Citaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_tbc_PI_Citaciones_Citaciones.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.ex_tbc_PI_Citaciones_Citaciones.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke;
this.ex_tbc_PI_Citaciones_Citaciones.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke;
this.ex_tbc_PI_Citaciones_Citaciones.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke;
this.ex_tbc_PI_Citaciones_Citaciones.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black;
this.ex_tbc_PI_Citaciones_Citaciones.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black;
this.ex_tbc_PI_Citaciones_Citaciones.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black;
this.ex_tbc_PI_Citaciones_Citaciones.Location = new System.Drawing.Point(3, 32);
this.ex_tbc_PI_Citaciones_Citaciones.Name = "ex_tbc_PI_Citaciones_Citaciones";
this.ex_tbc_PI_Citaciones_Citaciones.SelectedIndex = 0;
this.ex_tbc_PI_Citaciones_Citaciones.Size = new System.Drawing.Size(323, 524);
this.ex_tbc_PI_Citaciones_Citaciones.TabIndex = 414;
//
// ex_btn_PI_Citaciones_Filtros
//
this.ex_btn_PI_Citaciones_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_FILTROS;
this.ex_btn_PI_Citaciones_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_Filtros.Exferia_Button_ToolTip = "Mostrar/Filtrar campos ";
this.ex_btn_PI_Citaciones_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_Filtros.Location = new System.Drawing.Point(3, 3);
this.ex_btn_PI_Citaciones_Filtros.Name = "ex_btn_PI_Citaciones_Filtros";
this.ex_btn_PI_Citaciones_Filtros.Size = new System.Drawing.Size(25, 25);
this.ex_btn_PI_Citaciones_Filtros.TabIndex = 1023;
this.ex_btn_PI_Citaciones_Filtros.TabStop = false;
this.ex_btn_PI_Citaciones_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_Filtros.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_Filtros_Click);
//
// ex_btn_PI_Citaciones_Generar
//
this.ex_btn_PI_Citaciones_Generar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_Generar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_Generar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_Generar.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_Generar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ACTUALIZAR;
this.ex_btn_PI_Citaciones_Generar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_Generar.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_Generar.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_Generar.Exferia_Button_ToolTip = "Generar Informe";
this.ex_btn_PI_Citaciones_Generar.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_Generar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_Generar.Location = new System.Drawing.Point(707, 44);
this.ex_btn_PI_Citaciones_Generar.Name = "ex_btn_PI_Citaciones_Generar";
this.ex_btn_PI_Citaciones_Generar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_PI_Citaciones_Generar.TabIndex = 1041;
this.ex_btn_PI_Citaciones_Generar.TabStop = false;
this.ex_btn_PI_Citaciones_Generar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_Generar.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_Generar.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_Generar_Click);
//
// ex_rdb_PI_Citaciones_Agrupado_Asesor
//
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.AutoSize = true;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.BackColor = System.Drawing.Color.Transparent;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Exferia_RadioButton_Bloqueable = true;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Exferia_RadioButton_Obligatorio = false;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Exferia_RadioButton_ReadOnly = false;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Exferia_RadioButton_Repintar_ColorFondoLetra = true;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Location = new System.Drawing.Point(80, 79);
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Name = "ex_rdb_PI_Citaciones_Agrupado_Asesor";
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Size = new System.Drawing.Size(124, 17);
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.TabIndex = 1042;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.TabStop = true;
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.Text = "Agrupado por Asesor";
this.ex_rdb_PI_Citaciones_Agrupado_Asesor.UseVisualStyleBackColor = true;
//
// ex_rdb_PI_Citaciones_Agrupado_Juzgado
//
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.AutoSize = true;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.BackColor = System.Drawing.Color.Transparent;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Exferia_RadioButton_Bloqueable = true;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Exferia_RadioButton_Obligatorio = false;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Exferia_RadioButton_ReadOnly = false;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Exferia_RadioButton_Repintar_ColorFondoLetra = true;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Location = new System.Drawing.Point(80, 102);
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Name = "ex_rdb_PI_Citaciones_Agrupado_Juzgado";
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Size = new System.Drawing.Size(132, 17);
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.TabIndex = 1043;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.TabStop = true;
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.Text = "Agrupado por Juzgado";
this.ex_rdb_PI_Citaciones_Agrupado_Juzgado.UseVisualStyleBackColor = true;
//
// ex_btn_PI_Citaciones_ExportarExcel_PorHojas
//
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_EXCEL;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Exferia_Button_ToolTip = "Exportar informe a excel, varias hojas";
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Location = new System.Drawing.Point(707, 108);
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Name = "ex_btn_PI_Citaciones_ExportarExcel_PorHojas";
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Size = new System.Drawing.Size(31, 36);
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.TabIndex = 1044;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.TabStop = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Click);
//
// ex_btn_PI_Citaciones_ExportarExcel_UnaHoja
//
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_EXCEL_HOJA_UNICA;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Exferia_Button_ToolTip = "Exportar informe a excel, hoja única";
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Location = new System.Drawing.Point(707, 150);
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Name = "ex_btn_PI_Citaciones_ExportarExcel_UnaHoja";
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Size = new System.Drawing.Size(31, 36);
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.TabIndex = 1045;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.TabStop = false;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja_Click);
//
// ex_rdb_PI_Citaciones_Agrupado_SinAgrupar
//
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.AutoSize = true;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.BackColor = System.Drawing.Color.Transparent;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Checked = true;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Exferia_RadioButton_Bloqueable = true;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Exferia_RadioButton_Obligatorio = false;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Exferia_RadioButton_ReadOnly = false;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Exferia_RadioButton_Repintar_ColorFondoLetra = true;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Location = new System.Drawing.Point(80, 56);
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Name = "ex_rdb_PI_Citaciones_Agrupado_SinAgrupar";
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Size = new System.Drawing.Size(80, 17);
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.TabIndex = 1046;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.TabStop = true;
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.Text = "Sin Agrupar";
this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar.UseVisualStyleBackColor = true;
//
// spl_P_Citaciones_Principal
//
this.spl_P_Citaciones_Principal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.spl_P_Citaciones_Principal.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.spl_P_Citaciones_Principal.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.spl_P_Citaciones_Principal.Location = new System.Drawing.Point(10, 101);
this.spl_P_Citaciones_Principal.Name = "spl_P_Citaciones_Principal";
//
// spl_P_Citaciones_Principal.Panel1
//
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_usc_PI_Citaciones_FechaInicio);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_rdb_PI_Citaciones_Agrupado_SinAgrupar);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.exferia_TabControl1);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_txt_PI_Citaciones_HoraInicio);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_lbl_PI_Citaciones_HoraInicio);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_rdb_PI_Citaciones_Agrupado_Juzgado);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_usc_PI_Citaciones_FechaFin);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_rdb_PI_Citaciones_Agrupado_Asesor);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_txt_PI_Citaciones_HoraFin);
this.spl_P_Citaciones_Principal.Panel1.Controls.Add(this.ex_lbl_PI_Citaciones_HoraFin);
//
// spl_P_Citaciones_Principal.Panel2
//
this.spl_P_Citaciones_Principal.Panel2.Controls.Add(this.ex_btn_PI_Citaciones_Filtros);
this.spl_P_Citaciones_Principal.Panel2.Controls.Add(this.ex_tbc_PI_Citaciones_Citaciones);
this.spl_P_Citaciones_Principal.Size = new System.Drawing.Size(685, 562);
this.spl_P_Citaciones_Principal.SplitterDistance = 350;
this.spl_P_Citaciones_Principal.TabIndex = 1047;
this.spl_P_Citaciones_Principal.SplitterMoving += new System.Windows.Forms.SplitterCancelEventHandler(this.spl_P_Citaciones_Principal_SplitterMoving);
//
// ex_btn_P_Citaciones_MostrarOcultar_Filtros
//
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.Vacio;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = false;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_ToolTip = "Ocultar filtros";
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Font = new System.Drawing.Font("Fuentes_SigmaERP", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Location = new System.Drawing.Point(10, 76);
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Name = "ex_btn_P_Citaciones_MostrarOcultar_Filtros";
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Size = new System.Drawing.Size(20, 20);
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.TabIndex = 1048;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.TabStop = false;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Tag = "1";
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Text = "1";
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_P_Citaciones_MostrarOcultar_Filtros.Click += new System.EventHandler(this.ex_btn_P_Citaciones_MostrarOcultar_Filtros_Click);
//
// ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas
//
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_EXCEL_DIA;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Exferia_Button_TabStop = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Exferia_Button_ToolTip = "Exportar informe a excel, varias hojas por día";
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Location = new System.Drawing.Point(707, 192);
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Name = "ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas";
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Size = new System.Drawing.Size(31, 36);
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.TabIndex = 1049;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.TabStop = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.UseVisualStyleBackColor = false;
this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas.Click += new System.EventHandler(this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas_Click);
//
// PI_Citaciones
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(750, 670);
this.Controls.Add(this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas);
this.Controls.Add(this.ex_btn_P_Citaciones_MostrarOcultar_Filtros);
this.Controls.Add(this.spl_P_Citaciones_Principal);
this.Controls.Add(this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja);
this.Controls.Add(this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas);
this.Controls.Add(this.ex_btn_PI_Citaciones_Generar);
this.Name = "PI_Citaciones";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PI_Citaciones_FormClosed);
this.Load += new System.EventHandler(this.PI_Citaciones_Load);
this.Shown += new System.EventHandler(this.PI_Citaciones_Shown);
this.Controls.SetChildIndex(this.ex_btn_PI_Citaciones_Generar, 0);
this.Controls.SetChildIndex(this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas, 0);
this.Controls.SetChildIndex(this.ex_btn_PI_Citaciones_ExportarExcel_UnaHoja, 0);
this.Controls.SetChildIndex(this.spl_P_Citaciones_Principal, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Citaciones_MostrarOcultar_Filtros, 0);
this.Controls.SetChildIndex(this.ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas, 0);
this.exferia_TabControl1.ResumeLayout(false);
this.tbp_Asesores.ResumeLayout(false);
this.tbp_Asesores.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_PI_Citaciones_Asesores)).EndInit();
this.tbp_Juzgados.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_PI_Citaciones_Juzgados)).EndInit();
this.spl_P_Citaciones_Principal.Panel1.ResumeLayout(false);
this.spl_P_Citaciones_Principal.Panel1.PerformLayout();
this.spl_P_Citaciones_Principal.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.spl_P_Citaciones_Principal)).EndInit();
this.spl_P_Citaciones_Principal.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private Exferia_Controles.Exferia_TabControl exferia_TabControl1;
private System.Windows.Forms.TabPage tbp_Asesores;
private System.Windows.Forms.TabPage tbp_Juzgados;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_Asesores_SeleccionarTodo;
private System.Windows.Forms.Panel panel1;
private Exferia_Controles.Exferia_Label_SinColor exferia_Label_SinColor1;
private Exferia_Controles.Exferia_CheckBox ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas;
private Exferia_Controles.Exferia_Label exferia_Label8;
private Exferia_Controles.Exferia_CheckBox ex_chk_PI_Citaciones_Asesores_PalabraCompleta;
private Exferia_Controles.Exferia_TextBox ex_txt_PI_Citaciones_Asesores_Buscar;
private Exferia_Controles.Exferia_CheckBox ex_chk_PI_Citaciones_Asesores_DadosDeBaja;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos;
private Exferia_Controles.Exferia_DataGridView ex_dgv_PI_Citaciones_Asesores;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
private System.Windows.Forms.DataGridViewCheckBoxColumn Column1;
private System.Windows.Forms.DataGridViewTextBoxColumn Nombre;
private Exferia_Controles.Exferia_Label ex_lbl_PI_Citaciones_HoraFin;
private Exferia_Controles.Exferia_TextBox_ConMascara ex_txt_PI_Citaciones_HoraFin;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_PI_Citaciones_FechaFin;
private Exferia_Controles.Exferia_Label ex_lbl_PI_Citaciones_HoraInicio;
private Exferia_Controles.Exferia_TextBox_ConMascara ex_txt_PI_Citaciones_HoraInicio;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_PI_Citaciones_FechaInicio;
private Exferia_Controles.Exferia_TabControl ex_tbc_PI_Citaciones_Citaciones;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_Filtros;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_Generar;
private Exferia_Controles.Exferia_RadioButton ex_rdb_PI_Citaciones_Agrupado_Asesor;
private Exferia_Controles.Exferia_RadioButton ex_rdb_PI_Citaciones_Agrupado_Juzgado;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo;
private System.Windows.Forms.Panel panel3;
private Exferia_Controles.Exferia_Label_SinColor exferia_Label_SinColor2;
private Exferia_Controles.Exferia_CheckBox ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas;
private Exferia_Controles.Exferia_Label exferia_Label1;
private Exferia_Controles.Exferia_CheckBox ex_chk_PI_Citaciones_Juzgados_PalabraCompleta;
private Exferia_Controles.Exferia_TextBox ex_txt_PI_Citaciones_Juzgados_Buscar;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos;
private Exferia_Controles.Exferia_DataGridView ex_dgv_PI_Citaciones_Juzgados;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
private System.Windows.Forms.DataGridViewCheckBoxColumn dataGridViewCheckBoxColumn1;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_ExportarExcel_PorHojas;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_ExportarExcel_UnaHoja;
private Exferia_Controles.Exferia_RadioButton ex_rdb_PI_Citaciones_Agrupado_SinAgrupar;
private System.Windows.Forms.SplitContainer spl_P_Citaciones_Principal;
private Exferia_Controles.Exferia_Button ex_btn_P_Citaciones_MostrarOcultar_Filtros;
private Exferia_Controles.Exferia_Button ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas;
}
}

View File

@ -0,0 +1,642 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Visualizacion;
using Exferia_Controles;
using Exferia_EntityFramework;
using Exferia_Expedientes._3_Vistas.Controladoras;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using static Exferia_Aplicacion.General.Enumerados;
using System.Linq;
using Exferia_Formularios;
namespace Exferia_Expedientes._3_Vistas
{
public partial class PI_Citaciones : Exferia_Formularios.P_Base_Mantenimientos
{
#region Variables Generales
private PI_Citaciones_Controladora g_obj_Controladora;
public bool g_bol_ConstructorPantalla_Terminado_Correctamente = true;
public PRV_OpcionesDetalle g_mdl_PRV_Opciones_Detalle = null;
internal List<INTERNO_Permisos_Modelo> g_lst_INTERNO_Permisos_Modelo = null;
//Informe
public INTERNO_ConfiguracionPantalla_Modelo g_mdl_INTERNO_ConfiguracionPantalla_Modelo_INFORME = null;
//Timer Buscar
private System.Windows.Forms.Timer g_timer_Buscar_Asesores = new System.Windows.Forms.Timer();
private System.Windows.Forms.Timer g_timer_Buscar_Juzgados = new System.Windows.Forms.Timer();
#endregion
#region Objetos en pantalla
//Exferia_CheckBox
internal Exferia_CheckBox Exferia_CheckBox_Asesores_PalabraCompleta { get { return ex_chk_PI_Citaciones_Asesores_PalabraCompleta; } }
internal Exferia_CheckBox Exferia_CheckBox_Asesores_MayusculasMinusculas { get { return ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas; } }
internal Exferia_CheckBox Exferia_CheckBox_Asesores_DadosDeBaja { get { return ex_chk_PI_Citaciones_Asesores_DadosDeBaja; } }
internal Exferia_CheckBox Exferia_CheckBox_Juzgados_PalabraCompleta { get { return ex_chk_PI_Citaciones_Juzgados_PalabraCompleta; } }
internal Exferia_CheckBox Exferia_CheckBox_Juzgados_MayusculasMinusculas { get { return ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas; } }
//Exferia_DataGridView
internal Exferia_DataGridView Exferia_DataGridView_Asesores { get { return ex_dgv_PI_Citaciones_Asesores; } }
internal Exferia_DataGridView Exferia_DataGridView_Juzgados { get { return ex_dgv_PI_Citaciones_Juzgados; } }
//Exferia_FechaSeleccion
internal Exferia_FechaSeleccion Exferia_FechaSeleccion_FechaInicio { get { return ex_usc_PI_Citaciones_FechaInicio; } }
internal Exferia_FechaSeleccion Exferia_FechaSeleccion_FechaFin { get { return ex_usc_PI_Citaciones_FechaFin; } }
//Exferia_Label
internal Exferia_Label Exferia_Label_HoraInicio { get { return ex_lbl_PI_Citaciones_HoraInicio; } }
internal Exferia_Label Exferia_Label_HoraFin { get { return ex_lbl_PI_Citaciones_HoraFin; } }
//Exferia_RadioButton
internal Exferia_RadioButton Exferia_RadioButton_Agrupado_Asesor { get { return ex_rdb_PI_Citaciones_Agrupado_Asesor; } }
internal Exferia_RadioButton Exferia_RadioButton_Agrupado_Juzgado { get { return ex_rdb_PI_Citaciones_Agrupado_Juzgado; } }
internal Exferia_RadioButton Exferia_RadioButton_Agrupado_SinAgrupar { get { return ex_rdb_PI_Citaciones_Agrupado_SinAgrupar; } }
//Exferia_TabControl
internal Exferia_TabControl Exferia_TabControl_Citaciones { get { return ex_tbc_PI_Citaciones_Citaciones; } }
//Exferia_TextBox
internal Exferia_TextBox Exferia_TextBox_Asesores_Buscar { get { return ex_txt_PI_Citaciones_Asesores_Buscar; } }
internal Exferia_TextBox Exferia_TextBox_Juzgados_Buscar { get { return ex_txt_PI_Citaciones_Juzgados_Buscar; } }
//Exferia_TextBox_ConMascara
internal Exferia_TextBox_ConMascara Exferia_TextBox_ConMascara_HoraInicio { get { return ex_txt_PI_Citaciones_HoraInicio; } }
internal Exferia_TextBox_ConMascara Exferia_TextBox_ConMascara_HoraFin { get { return ex_txt_PI_Citaciones_HoraFin; } }
#endregion
#region Constructor
public PI_Citaciones(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle)
{
InitializeComponent();
try
{
Repintar.Empezar(this);
CheckForIllegalCrossThreadCalls = false;
//Comrpobamos que el codigo cliente exista y este bien
if (Variables.G_LNG_IDCLIENTE_LICENCIAVALIDADO.Equals(-1))
{
//Tendriamos que avisar y no dejar abrir la pantalla
Mensajes.MostrarMensaje(Mensajes.G_STR_LICENCIA_VALIDACIONES_LICENCIANOESTAACTIVA);
}
//Empresa Seleccionada y fecha de trabajo
P_Base_ValoresGenerales = _mdl_INTERNO_ValoresGenerales_Modelo;
P_Base_FechaTrabajo = _dtt_FechaTrabajo;
//Instanciar Controladora
g_obj_Controladora = new PI_Citaciones_Controladora(this);
//Datos de Opciones detalle
g_mdl_PRV_Opciones_Detalle = _mdl_PRV_OpcionesDetalle;
//Buscar los Permisos
g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(g_mdl_PRV_Opciones_Detalle.opcion);
//Mirrar si hay que bloquear los controles, si solo puede ver los datos
if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false)
{
//Bloquear los controles
SoloLectura.Empezar(this, true);
}
//Titulo de la Pantalla
P_Base_TituloPantalla = g_mdl_PRV_Opciones_Detalle.descripcion_TituloMantenimiento;
if (Variables.G_DCT_CONFIGURACIONPANTALLA != null && Variables.G_DCT_CONFIGURACIONPANTALLA.Count > 0)
{
//Listado Informe
if (Variables.G_DCT_CONFIGURACIONPANTALLA.ContainsKey(g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe.NOMBRELISTADO_ALMACENARCONFIGURACION()))
{
g_mdl_INTERNO_ConfiguracionPantalla_Modelo_INFORME = Variables.G_DCT_CONFIGURACIONPANTALLA[g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe.NOMBRELISTADO_ALMACENARCONFIGURACION()];
}
}
//Label con Empresa Seleccionada
if (P_Base_ValoresGenerales != null)
{
try
{
P_Base_Mantenimientos_InformacionEmpresaSeleccionada = P_Base_ValoresGenerales.str_Empresa_Descripcion + " - " +
"(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")";
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(PI_Citaciones) + "/" + nameof(PI_Citaciones));
}
}
//..................................................................................................................................
//Bloquear pantalla hasta que termine la carga por defecto.....
Enabled = false;
//.............................................................
}
catch (Control_Errores)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
catch (Exception ex)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
Control_Errores.Errores_Log("", ex, nameof(PI_Citaciones) + "/" + nameof(PI_Citaciones));
}
finally
{
//Bloquear pantalla hasta que termine la carga por defecto .............
Enabled = true;
//......................................................................
}
}
#endregion
#region Inicio de pantalla
private void PI_Citaciones_Load(object sender, EventArgs e)
{
try
{
#region TIMER BUSCAR ASESORES
g_timer_Buscar_Asesores.Interval = 1000;
g_timer_Buscar_Asesores.Tick += delegate (object s, EventArgs ee)
{
g_timer_Buscar_Asesores.Stop();
g_obj_Controladora.Rellenar_DataGrid_Asesores(ex_txt_PI_Citaciones_Asesores_Buscar.Text);
};
#endregion
#region TIMER BUSCAR JUZGADOS
g_timer_Buscar_Juzgados.Interval = 1000;
g_timer_Buscar_Juzgados.Tick += delegate (object s, EventArgs ee)
{
g_timer_Buscar_Juzgados.Stop();
g_obj_Controladora.Rellenar_DataGrid_Juzgados(ex_txt_PI_Citaciones_Juzgados_Buscar.Text);
};
#endregion
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log(ex.Message, ex, nameof(PI_Citaciones) + "/" + nameof(PI_Citaciones_Load));
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
}
private void PI_Citaciones_Shown(object sender, EventArgs e)
{
try
{
g_obj_Controladora.CargarDatos_Listados_Filtros();
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(PI_Citaciones) + "/" + nameof(PI_Citaciones_Shown));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
#endregion
#region Asesores
private void ex_txt_PI_Citaciones_Asesores_Buscar_Exferia_TextBox_Evento_TextChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null)
{
g_timer_Buscar_Asesores.Stop();
g_timer_Buscar_Asesores.Start();
}
}
private void ex_chk_PI_Citaciones_Asesores_PalabraCompleta_CheckedChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null)
{
g_timer_Buscar_Asesores.Stop();
g_timer_Buscar_Asesores.Start();
}
}
private void ex_chk_PI_Citaciones_Asesores_MayusculasMinusculas_CheckedChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null)
{
g_timer_Buscar_Asesores.Stop();
g_timer_Buscar_Asesores.Start();
}
}
private void ex_chk_PI_Citaciones_Asesores_DadosDeBaja_CheckedChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null)
{
g_timer_Buscar_Asesores.Stop();
g_timer_Buscar_Asesores.Start();
}
}
private void ex_dgv_PI_Citaciones_Asesores_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
try
{
if (e.ColumnIndex == 1)
{
long lng_idAsesor = long.Parse(ex_dgv_PI_Citaciones_Asesores[0, e.RowIndex].Value.ToString());
if (ex_dgv_PI_Citaciones_Asesores[e.ColumnIndex, e.RowIndex].Value.ToString() == "0")
{
ex_dgv_PI_Citaciones_Asesores[e.ColumnIndex, e.RowIndex].Value = 1;
//Añadir al listado
if (g_obj_Controladora.g_lst_Asesores_Seleccionados.Count==0 ||
!g_obj_Controladora.g_lst_Asesores_Seleccionados.Exists(m=>m.Equals(lng_idAsesor)))
{
g_obj_Controladora.g_lst_Asesores_Seleccionados.Add(lng_idAsesor);
}
}
else
{
ex_dgv_PI_Citaciones_Asesores[e.ColumnIndex, e.RowIndex].Value = 0;
//Borrar del listado
g_obj_Controladora.g_lst_Asesores_Seleccionados.RemoveAll(m => m.Equals(lng_idAsesor));
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(PI_Citaciones) + "/" + nameof(ex_dgv_PI_Citaciones_Asesores_CellContentClick));
}
}
private void ex_btn_PI_Citaciones_Asesores_SeleccionarTodo_Click(object sender, EventArgs e)
{
if (ex_dgv_PI_Citaciones_Asesores.Rows.Count > 0)
{
long lng_idAsesor = -1;
foreach (DataGridViewRow dgvr_Fila in ex_dgv_PI_Citaciones_Asesores.Rows.Cast<DataGridViewRow>().ToList())
{
//Checkear
dgvr_Fila.Cells[1].Value = 1;
//Añadir al listado
lng_idAsesor = long.Parse(dgvr_Fila.Cells[0].Value.ToString());
if (g_obj_Controladora.g_lst_Asesores_Seleccionados.Count == 0 ||
!g_obj_Controladora.g_lst_Asesores_Seleccionados.Exists(m => m.Equals(lng_idAsesor)))
{
g_obj_Controladora.g_lst_Asesores_Seleccionados.Add(lng_idAsesor);
}
}
}
}
private void ex_btn_PI_Citaciones_Asesores_DeseleccionarTodos_Click(object sender, EventArgs e)
{
if (ex_dgv_PI_Citaciones_Asesores.Rows.Count > 0)
{
long lng_idAsesor = -1;
foreach (DataGridViewRow dgvr_Fila in ex_dgv_PI_Citaciones_Asesores.Rows.Cast<DataGridViewRow>().ToList())
{
//Checkear
dgvr_Fila.Cells[1].Value = 0;
//Añadir al listado
lng_idAsesor = long.Parse(dgvr_Fila.Cells[0].Value.ToString());
g_obj_Controladora.g_lst_Asesores_Seleccionados.RemoveAll(m => m.Equals(lng_idAsesor));
}
}
}
#endregion
#region Juzgados
private void ex_txt_PI_Citaciones_Juzgados_Buscar_Exferia_TextBox_Evento_TextChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null)
{
g_timer_Buscar_Juzgados.Stop();
g_timer_Buscar_Juzgados.Start();
}
}
private void ex_chk_PI_Citaciones_Juzgados_PalabraCompleta_CheckedChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null)
{
g_timer_Buscar_Juzgados.Stop();
g_timer_Buscar_Juzgados.Start();
}
}
private void ex_chk_PI_Citaciones_Juzgados_MayusculasMinusculas_CheckedChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null)
{
g_timer_Buscar_Juzgados.Stop();
g_timer_Buscar_Juzgados.Start();
}
}
private void ex_dgv_PI_Citaciones_Juzgados_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
try
{
if (e.ColumnIndex == 1)
{
long lng_idAsesor = long.Parse(ex_dgv_PI_Citaciones_Juzgados[0, e.RowIndex].Value.ToString());
if (ex_dgv_PI_Citaciones_Juzgados[e.ColumnIndex, e.RowIndex].Value.ToString() == "0")
{
ex_dgv_PI_Citaciones_Juzgados[e.ColumnIndex, e.RowIndex].Value = 1;
//Añadir al listado
if (g_obj_Controladora.g_lst_Juzgados_Seleccionados.Count == 0 ||
!g_obj_Controladora.g_lst_Juzgados_Seleccionados.Exists(m => m.Equals(lng_idAsesor)))
{
g_obj_Controladora.g_lst_Juzgados_Seleccionados.Add(lng_idAsesor);
}
}
else
{
ex_dgv_PI_Citaciones_Juzgados[e.ColumnIndex, e.RowIndex].Value = 0;
//Borrar del listado
g_obj_Controladora.g_lst_Juzgados_Seleccionados.RemoveAll(m => m.Equals(lng_idAsesor));
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(PI_Citaciones) + "/" + nameof(ex_dgv_PI_Citaciones_Juzgados_CellContentClick));
}
}
private void ex_btn_PI_Citaciones_Juzgados_SeleccionarTodo_Click(object sender, EventArgs e)
{
if (ex_dgv_PI_Citaciones_Juzgados.Rows.Count > 0)
{
long lng_idAsesor = -1;
foreach (DataGridViewRow dgvr_Fila in ex_dgv_PI_Citaciones_Juzgados.Rows.Cast<DataGridViewRow>().ToList())
{
//Checkear
dgvr_Fila.Cells[1].Value = 1;
//Añadir al listado
lng_idAsesor = long.Parse(dgvr_Fila.Cells[0].Value.ToString());
if (g_obj_Controladora.g_lst_Juzgados_Seleccionados.Count == 0 ||
!g_obj_Controladora.g_lst_Juzgados_Seleccionados.Exists(m => m.Equals(lng_idAsesor)))
{
g_obj_Controladora.g_lst_Juzgados_Seleccionados.Add(lng_idAsesor);
}
}
}
}
private void ex_btn_PI_Citaciones_Juzgados_DeseleccionarTodos_Click(object sender, EventArgs e)
{
if (ex_dgv_PI_Citaciones_Juzgados.Rows.Count > 0)
{
long lng_idAsesor = -1;
foreach (DataGridViewRow dgvr_Fila in ex_dgv_PI_Citaciones_Juzgados.Rows.Cast<DataGridViewRow>().ToList())
{
//Checkear
dgvr_Fila.Cells[1].Value = 0;
//Añadir al listado
lng_idAsesor = long.Parse(dgvr_Fila.Cells[0].Value.ToString());
g_obj_Controladora.g_lst_Juzgados_Seleccionados.RemoveAll(m => m.Equals(lng_idAsesor));
}
}
}
#endregion
#region Generar
private void ex_btn_PI_Citaciones_Filtros_Click(object sender, EventArgs e)
{
try
{
if (g_obj_Controladora.g_obj_DataGridView_Selecionado != null)
{
PE_Listados_Filtros frm_PE_Listados_Filtros = new PE_Listados_Filtros(g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe, g_obj_Controladora.g_obj_DataGridView_Selecionado.Columns, g_obj_Controladora.g_dct_ListadoFiltros_Informe, false);
frm_PE_Listados_Filtros.ShowDialog();
if (frm_PE_Listados_Filtros.g_bol_BotonAceptar)
{
//Mostrar/Ocultar las Columnas que no esten en el Listado
g_obj_Controladora.g_lst_ColumnasAMostrar_Informe = frm_PE_Listados_Filtros.g_lst_ColumnasAMostrar;
//Recorrer los Juzgados seleccionados
foreach (string str_DataGridView_Generado in g_obj_Controladora.g_lst_DataGridViews_Generados)
{
//Buscar el DataGridView
Exferia_DataGridView ex_dgv = (Exferia_DataGridView)Exferia_TabControl_Citaciones.Controls.Find(str_DataGridView_Generado, true).FirstOrDefault();
if (ex_dgv != null)
{
foreach (DataGridViewColumn dgvc_ColumnasActuales in ex_dgv.Columns)
{
//Mostrar
if (g_obj_Controladora.g_lst_ColumnasAMostrar_Informe.Contains(dgvc_ColumnasActuales.Name))
{
dgvc_ColumnasActuales.Visible = true;
}
//Ocultar
else
{
dgvc_ColumnasActuales.Visible = false;
}
}
}
}
//Rellenar los nuevos filtros
g_obj_Controladora.g_dct_ListadoFiltros_Informe = frm_PE_Listados_Filtros.g_dct_ListadoFiltros.ToDictionary(entry => entry.Key, entry => entry.Value);
}
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(PI_Citaciones) + "/" + nameof(ex_btn_PI_Citaciones_Filtros_Click));
}
}
private void ex_btn_PI_Citaciones_Generar_Click(object sender, EventArgs e)
{
Generar_Informe();
}
private void Generar_Informe()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true))
{
g_obj_Controladora.Generar_Informe();
}
}
#endregion
#region Exportar Excel
private void ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Click(object sender, EventArgs e)
{
Exportar_Excel_PorHojas();
}
private void Exportar_Excel_PorHojas()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.ExportarAExcel, true))
{
g_obj_Controladora.Exportar_Excel_PorHojas();
}
}
private void ex_btn_PI_Citaciones_ExportarExcel_UnaHoja_Click(object sender, EventArgs e)
{
Exportar_Excel_HojaUnica();
}
private void Exportar_Excel_HojaUnica()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.ExportarAExcel, true))
{
g_obj_Controladora.Exportar_Excel_HojaUnica();
}
}
private void ex_btn_PI_Citaciones_ExportarExcel_PorHojas_Fechas_Click(object sender, EventArgs e)
{
Exportar_Excel_PorHojas_Fechas();
}
private void Exportar_Excel_PorHojas_Fechas()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.ExportarAExcel, true))
{
g_obj_Controladora.Exportar_Excel_PorHojas_Fechas();
}
}
#endregion
#region Cierre de Pantalla
private void PI_Citaciones_FormClosed(object sender, FormClosedEventArgs e)
{
try
{
//si hay un listado generado guardo el orden sino no
if (g_obj_Controladora.g_obj_DataGridView_Selecionado != null && g_obj_Controladora.g_obj_DataGridView_Selecionado.Rows.Count > 0)
{
//Listado de Informe
INTERNO_ConfiguracionPantalla_Modelo mdl_INTERNO_ConfiguracionPantalla_Modelo = new INTERNO_ConfiguracionPantalla_Modelo();
Dictionary<string, int> dct_ColumnasOrden = new Dictionary<string, int>();
Dictionary<string, int> dct_ColumnasAncho = new Dictionary<string, int>();
foreach (DataGridViewColumn dgv_Columnas in g_obj_Controladora.g_obj_DataGridView_Selecionado.Columns)
{
//Campos a Mostrar
if (dgv_Columnas.Visible)
{
//Columnas Orden
dct_ColumnasOrden.Add(dgv_Columnas.Name, dgv_Columnas.DisplayIndex);
//Columnas Ancho
dct_ColumnasAncho.Add(dgv_Columnas.Name, dgv_Columnas.Width);
}
}
mdl_INTERNO_ConfiguracionPantalla_Modelo.LISTADO_COLUMNASAMOSTRAR = g_obj_Controladora.g_lst_ColumnasAMostrar_Informe;
mdl_INTERNO_ConfiguracionPantalla_Modelo.LISTADO_COLUMNAS_ORDEN = dct_ColumnasOrden;
mdl_INTERNO_ConfiguracionPantalla_Modelo.LISTADO_COLUMNAS_ANCHO = dct_ColumnasAncho;
//Orden
mdl_INTERNO_ConfiguracionPantalla_Modelo.LISTADO_ORDEN_COLUMNA_PORDEFECTO = "0";
mdl_INTERNO_ConfiguracionPantalla_Modelo.LISTADO_ORDEN_DIRECCION_PORDEFECTO = "0";
//Actualizar la Variables General
if (Variables.G_DCT_CONFIGURACIONPANTALLA != null && Variables.G_DCT_CONFIGURACIONPANTALLA.Count > 0)
{
//Ver si ya existia
if (Variables.G_DCT_CONFIGURACIONPANTALLA.ContainsKey(g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe.NOMBRELISTADO_ALMACENARCONFIGURACION()))
{
Variables.G_DCT_CONFIGURACIONPANTALLA[g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe.NOMBRELISTADO_ALMACENARCONFIGURACION()] = mdl_INTERNO_ConfiguracionPantalla_Modelo;
}
else
{
Variables.G_DCT_CONFIGURACIONPANTALLA.Add(g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe.NOMBRELISTADO_ALMACENARCONFIGURACION(), mdl_INTERNO_ConfiguracionPantalla_Modelo);
}
}
else
{
Variables.G_DCT_CONFIGURACIONPANTALLA = new Dictionary<string, INTERNO_ConfiguracionPantalla_Modelo>();
Variables.G_DCT_CONFIGURACIONPANTALLA.Add(g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe.NOMBRELISTADO_ALMACENARCONFIGURACION(), mdl_INTERNO_ConfiguracionPantalla_Modelo);
}
//Actualizar el fichero XML
Exferia_Aplicacion.General.Funciones_FicherosXML.ModificarXML_ConfiguracionPantallas(Variables.G_STR_CONFIGURACIONPANTALLA_TIPOPANTALLA_LISTADOS, g_obj_Controladora.g_obj_ABS_Listado_Citaciones_Informe.NOMBRELISTADO_ALMACENARCONFIGURACION(), mdl_INTERNO_ConfiguracionPantalla_Modelo);
//###################################################################################################################################
}
}
catch (Control_Errores)
{ }
catch (Exception ex)
{
Control_Errores.Errores_Log(ex.Message, ex, nameof(PI_Citaciones) + "/" + nameof(PI_Citaciones_FormClosed));
}
}
#endregion
#region Redimencionar
private bool g_bol_Mover_Spplitter = false;
private void ex_btn_P_Citaciones_MostrarOcultar_Filtros_Click(object sender, EventArgs e)
{
g_bol_Mover_Spplitter = true;
if (ex_btn_P_Citaciones_MostrarOcultar_Filtros.Tag.ToString()=="1")
{
spl_P_Citaciones_Principal.Panel1Collapsed = true;
ex_btn_P_Citaciones_MostrarOcultar_Filtros.Text = "2";
ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_ToolTip = "Mostrar filtros";
ex_btn_P_Citaciones_MostrarOcultar_Filtros.Tag = "0";
}
else
{
spl_P_Citaciones_Principal.Panel1Collapsed = false;
ex_btn_P_Citaciones_MostrarOcultar_Filtros.Text = "1";
ex_btn_P_Citaciones_MostrarOcultar_Filtros.Exferia_Button_ToolTip = "Ocultar filtros";
ex_btn_P_Citaciones_MostrarOcultar_Filtros.Tag = "1";
}
g_bol_Mover_Spplitter = false;
}
private void spl_P_Citaciones_Principal_SplitterMoving(object sender, SplitterCancelEventArgs e)
{
if (!g_bol_Mover_Spplitter)
{
e.Cancel = true;
}
}
#endregion
}
}

View File

@ -0,0 +1,138 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Nombre.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -0,0 +1,155 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class PI_CitacionesPorExpediente
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.ex_btn_PI_CitacionesPorExpediente_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja = new Exferia_Controles.Exferia_Button();
this.ex_dgv_PI_CitacionesorExpediente_Citaciones = new Exferia_Controles.Exferia_DataGridView();
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente = new Exferia_Controles.Exferia_F3();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_PI_CitacionesorExpediente_Citaciones)).BeginInit();
this.SuspendLayout();
//
// ex_btn_PI_CitacionesPorExpediente_Filtros
//
this.ex_btn_PI_CitacionesPorExpediente_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_FILTROS;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Exferia_Button_ToolTip = "Mostrar/Filtrar campos ";
this.ex_btn_PI_CitacionesPorExpediente_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Location = new System.Drawing.Point(12, 109);
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Name = "ex_btn_PI_CitacionesPorExpediente_Filtros";
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Size = new System.Drawing.Size(25, 25);
this.ex_btn_PI_CitacionesPorExpediente_Filtros.TabIndex = 1023;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.TabStop = false;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_PI_CitacionesPorExpediente_Filtros.Click += new System.EventHandler(this.ex_btn_PI_CitacionesPorExpediente_Filtros_Click);
//
// ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja
//
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Exferia_Button_Bloqueable = true;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_EXCEL;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Exferia_Button_ReadOnly = false;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Exferia_Button_TabStop = false;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Exferia_Button_ToolTip = "Exportar informe a excel";
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.FlatAppearance.BorderSize = 0;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Location = new System.Drawing.Point(707, 140);
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Name = "ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja";
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Size = new System.Drawing.Size(31, 36);
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.TabIndex = 1045;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.TabStop = false;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.UseVisualStyleBackColor = false;
this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja.Click += new System.EventHandler(this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja_Click);
//
// ex_dgv_PI_CitacionesorExpediente_Citaciones
//
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.AllowUserToAddRows = false;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.AllowUserToDeleteRows = false;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.ColumnHeadersVisible = false;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.EnableHeadersVisualStyles = false;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.Location = new System.Drawing.Point(12, 140);
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.Name = "ex_dgv_PI_CitacionesorExpediente_Citaciones";
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.RowHeadersVisible = false;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.Size = new System.Drawing.Size(689, 518);
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.TabIndex = 1046;
this.ex_dgv_PI_CitacionesorExpediente_Citaciones.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.ex_dgv_PI_CitacionesorExpediente_Citaciones_CellFormatting);
//
// ex_usc_F3_PI_CitacionesPorExpediente_Expediente
//
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Ancho_Codigo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_CODIGO.Normal;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Ancho_Titulo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_TITULO.Normal;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Bloquear_F3_Descripcion = false;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Codigo = "";
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_DatosAuxiliares_1 = null;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_DatosAuxiliares_2 = null;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_DatosAuxiliares_3 = null;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Descripcion = "";
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_FechaBorrado = null;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Id = ((long)(-1));
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_IdEjercicio_Baja = null;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Objeto_ParaEnviarAMantenimiento = null;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_PRINCIPAL_Obligatorio = false;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = "";
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_PRINCIPAL_PermitirAdd = true;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_RELACIONADOS_Objetos_Hijos = null;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_RELACIONAL_TipoRelacion = Exferia_Controles.Exferia_F3.Exferia_F3_TipoRelacion.Ninguna;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Titulo = "Expediente";
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Location = new System.Drawing.Point(12, 81);
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Name = "ex_usc_F3_PI_CitacionesPorExpediente_Expediente";
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Size = new System.Drawing.Size(689, 22);
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.TabIndex = 1047;
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Tag = "";
this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_Evento_TerminoBusqueda += new System.EventHandler(this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente_Exferia_F3_Evento_TerminoBusqueda);
//
// PI_CitacionesPorExpediente
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(750, 670);
this.Controls.Add(this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente);
this.Controls.Add(this.ex_dgv_PI_CitacionesorExpediente_Citaciones);
this.Controls.Add(this.ex_btn_PI_CitacionesPorExpediente_Filtros);
this.Controls.Add(this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja);
this.Name = "PI_CitacionesPorExpediente";
this.Load += new System.EventHandler(this.PI_CitacionesPorExpediente_Load);
this.Controls.SetChildIndex(this.ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja, 0);
this.Controls.SetChildIndex(this.ex_btn_PI_CitacionesPorExpediente_Filtros, 0);
this.Controls.SetChildIndex(this.ex_dgv_PI_CitacionesorExpediente_Citaciones, 0);
this.Controls.SetChildIndex(this.ex_usc_F3_PI_CitacionesPorExpediente_Expediente, 0);
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_PI_CitacionesorExpediente_Citaciones)).EndInit();
this.ResumeLayout(false);
}
#endregion
private Exferia_Controles.Exferia_Button ex_btn_PI_CitacionesPorExpediente_Filtros;
private Exferia_Controles.Exferia_Button ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja;
private Exferia_Controles.Exferia_DataGridView ex_dgv_PI_CitacionesorExpediente_Citaciones;
private Exferia_Controles.Exferia_F3 ex_usc_F3_PI_CitacionesPorExpediente_Expediente;
}
}

View File

@ -0,0 +1,283 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Visualizacion;
using Exferia_Controles;
using Exferia_EntityFramework;
using Exferia_Expedientes._3_Vistas.Controladoras;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using static Exferia_Aplicacion.General.Enumerados;
using System.Linq;
using Exferia_Formularios;
using Exferia_Expedientes._0_Modelos;
namespace Exferia_Expedientes._3_Vistas
{
public partial class PI_CitacionesPorExpediente : Exferia_Formularios.P_Base_Mantenimientos
{
#region Variables Generales
private PI_CitacionesPorExpediente_Controladora g_obj_Controladora;
public bool g_bol_ConstructorPantalla_Terminado_Correctamente = true;
public PRV_OpcionesDetalle g_mdl_PRV_Opciones_Detalle = null;
internal List<INTERNO_Permisos_Modelo> g_lst_INTERNO_Permisos_Modelo = null;
#endregion
#region Objetos en pantalla
//Exferia_DataGridView
internal Exferia_DataGridView Exferia_DataGridView_Citaciones { get { return ex_dgv_PI_CitacionesorExpediente_Citaciones; } }
//Exferia_F3
internal Exferia_F3 Exferia_F3_Expediente { get { return ex_usc_F3_PI_CitacionesPorExpediente_Expediente; } }
#endregion
#region Constructor
public PI_CitacionesPorExpediente(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle)
{
InitializeComponent();
try
{
Repintar.Empezar(this);
CheckForIllegalCrossThreadCalls = false;
//Comrpobamos que el codigo cliente exista y este bien
if (Variables.G_LNG_IDCLIENTE_LICENCIAVALIDADO.Equals(-1))
{
//Tendriamos que avisar y no dejar abrir la pantalla
Mensajes.MostrarMensaje(Mensajes.G_STR_LICENCIA_VALIDACIONES_LICENCIANOESTAACTIVA);
}
//Empresa Seleccionada y fecha de trabajo
P_Base_ValoresGenerales = _mdl_INTERNO_ValoresGenerales_Modelo;
P_Base_FechaTrabajo = _dtt_FechaTrabajo;
//Instanciar Controladora
g_obj_Controladora = new PI_CitacionesPorExpediente_Controladora(this);
//Datos de Opciones detalle
g_mdl_PRV_Opciones_Detalle = _mdl_PRV_OpcionesDetalle;
//Buscar los Permisos
g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(g_mdl_PRV_Opciones_Detalle.opcion);
//Mirrar si hay que bloquear los controles, si solo puede ver los datos
if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false)
{
//Bloquear los controles
SoloLectura.Empezar(this, true);
}
//Titulo de la Pantalla
P_Base_TituloPantalla = g_mdl_PRV_Opciones_Detalle.descripcion_TituloMantenimiento;
//Label con Empresa Seleccionada
if (P_Base_ValoresGenerales != null)
{
try
{
P_Base_Mantenimientos_InformacionEmpresaSeleccionada = P_Base_ValoresGenerales.str_Empresa_Descripcion + " - " +
"(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")";
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(PI_CitacionesPorExpediente) + "/" + nameof(PI_CitacionesPorExpediente));
}
}
//..................................................................................................................................
//Bloquear pantalla hasta que termine la carga por defecto.....
Enabled = false;
//.............................................................
//Rellenar para los F3 .......................................
//EXPEDIENTE
ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = Variables.G_STR_OPCION_EPD_EXPEDIENTES;
ex_usc_F3_PI_CitacionesPorExpediente_Expediente.Exferia_F3_PantallaContenedora = this;
}
catch (Control_Errores)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
catch (Exception ex)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
Control_Errores.Errores_Log("", ex, nameof(PI_CitacionesPorExpediente) + "/" + nameof(PI_CitacionesPorExpediente));
}
finally
{
//Bloquear pantalla hasta que termine la carga por defecto .............
Enabled = true;
//......................................................................
}
}
#endregion
#region Inicio de pantalla
private void PI_CitacionesPorExpediente_Load(object sender, EventArgs e)
{
try
{
//Crear Columnas Listado
RellenarColumnas_Listado();
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(PI_CitacionesPorExpediente) + "/" + nameof(PI_CitacionesPorExpediente_Load));
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
}
#endregion
private void RellenarColumnas_Listado()
{
ex_dgv_PI_CitacionesorExpediente_Citaciones.AutoGenerateColumns = false;
g_obj_Controladora.g_lst_INTERNO_ABS_Listado_CitacionesPorExpediente_Informe_Columnas = g_obj_Controladora.g_obj_ABS_Listado_CitacionesPorExpediente_Informe.LISTADO_COLUMNAS().Values.ToList();
foreach (INTERNO_ABS_Listado_ColumnasDatos_Modelo mdl_INTERNO_ABS_Listado_ColumnasDatos_Modelo in g_obj_Controladora.g_lst_INTERNO_ABS_Listado_CitacionesPorExpediente_Informe_Columnas)
{
//Poner visible o no .........................................................................
bool bol_Visible = true;
if (mdl_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Mostrado_PorDefecto == false)
{
bol_Visible = false;
}
if (bol_Visible)
{
g_obj_Controladora.g_lst_ColumnasAMostrar_Informe.Add(mdl_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Descripcion_Interna);
}
//.....................................................................................................
}
}
private void ex_dgv_PI_CitacionesorExpediente_Citaciones_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
{
try
{
//Tipo Cabecera Expediente
if (int.Parse(ex_dgv_PI_CitacionesorExpediente_Citaciones[nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Tipo), e.RowIndex].Value.ToString()) == 1)
{
//Color Fondo
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Colores.G_COLOR_PRINCIPAL_OSCURO;
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.SelectionBackColor = Colores.G_COLOR_PRINCIPAL_OSCURO;
//Color Letra
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = ex_dgv_PI_CitacionesorExpediente_Citaciones.ColumnHeadersDefaultCellStyle.ForeColor;
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.SelectionForeColor = ex_dgv_PI_CitacionesorExpediente_Citaciones.ColumnHeadersDefaultCellStyle.ForeColor;
}
//Tipo Cabecera Procedimiento
else if (int.Parse(ex_dgv_PI_CitacionesorExpediente_Citaciones[nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Tipo), e.RowIndex].Value.ToString()) == 2)
{
//Color Fondo
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Colores.G_COLOR_PRINCIPAL_BASE;
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.SelectionBackColor = Colores.G_COLOR_PRINCIPAL_BASE;
//Color Letra
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = ex_dgv_PI_CitacionesorExpediente_Citaciones.ColumnHeadersDefaultCellStyle.ForeColor;
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.SelectionForeColor = ex_dgv_PI_CitacionesorExpediente_Citaciones.ColumnHeadersDefaultCellStyle.ForeColor;
}
//Tipo Cabecera Citaciones
else if (int.Parse(ex_dgv_PI_CitacionesorExpediente_Citaciones[nameof(INTERNO_Informe_CitacionesPorExpediente_Modelo.Tipo), e.RowIndex].Value.ToString()) == 3)
{
//Color Fondo
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Colores.G_COLOR_SECUNDARIO_CLARO;
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.SelectionBackColor = Colores.G_COLOR_SECUNDARIO_CLARO;
//Color Letra
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Colores.G_COLOR_TEXTO_ESCRITO;
ex_dgv_PI_CitacionesorExpediente_Citaciones.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.SelectionForeColor = Colores.G_COLOR_TEXTO_ESCRITO;
}
}
catch (Exception)
{}
}
#region Filtros
private void ex_btn_PI_CitacionesPorExpediente_Filtros_Click(object sender, EventArgs e)
{
try
{
//Se utiliza para poder mostrar los Filtros
DataGridView dgv = new DataGridView();
DataGridViewColumnCollection dgvclst_Columnas=new DataGridViewColumnCollection(dgv);
foreach (INTERNO_ABS_Listado_ColumnasDatos_Modelo mdl_INTERNO_ABS_Listado_ColumnasDatos_Modelo in g_obj_Controladora.g_lst_INTERNO_ABS_Listado_CitacionesPorExpediente_Informe_Columnas)
{
DataGridViewColumn dtCol = new DataGridViewColumn();
dtCol.Name = mdl_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Descripcion_Interna;
dtCol.DataPropertyName = mdl_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Descripcion_Interna;
dtCol.Visible = g_obj_Controladora.g_lst_ColumnasAMostrar_Informe.Exists(m => m.Equals(mdl_INTERNO_ABS_Listado_ColumnasDatos_Modelo.Descripcion_Interna));
dtCol.CellTemplate = new DataGridViewTextBoxCell();
dgvclst_Columnas.Add(dtCol);
}
PE_Listados_Filtros frm_PE_Listados_Filtros = new PE_Listados_Filtros(g_obj_Controladora.g_obj_ABS_Listado_CitacionesPorExpediente_Informe, dgvclst_Columnas, g_obj_Controladora.g_dct_ListadoFiltros_Informe, false);
frm_PE_Listados_Filtros.ShowDialog();
if (frm_PE_Listados_Filtros.g_bol_BotonAceptar)
{
//Mostrar/Ocultar las Columnas que no esten en el Listado
g_obj_Controladora.g_lst_ColumnasAMostrar_Informe = frm_PE_Listados_Filtros.g_lst_ColumnasAMostrar;
//Rellenar los nuevos filtros
g_obj_Controladora.g_dct_ListadoFiltros_Informe = frm_PE_Listados_Filtros.g_dct_ListadoFiltros.ToDictionary(entry => entry.Key, entry => entry.Value);
g_obj_Controladora.Generar_Informe();
}
}
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(PI_CitacionesPorExpediente) + "/" + nameof(ex_btn_PI_CitacionesPorExpediente_Filtros_Click));
}
}
#endregion
#region F3
private void ex_usc_F3_PI_CitacionesPorExpediente_Expediente_Exferia_F3_Evento_TerminoBusqueda(object sender, EventArgs e)
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true))
{
g_obj_Controladora.Generar_Informe();
}
}
#endregion
#region Exportar Excel
private void ex_btn_PI_CitacionesPorExpediente_ExportarExcel_UnaHoja_Click(object sender, EventArgs e)
{
Exportar_Excel_HojaUnica();
}
private void Exportar_Excel_HojaUnica()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_Opciones_Detalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.ExportarAExcel, true))
{
g_obj_Controladora.Exportar_Excel();
}
}
#endregion
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,315 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class P_Asesor
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.ex_lbl_P_Asesor_Codigo = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Asesor_Codigo = new Exferia_Controles.Exferia_TextBox();
this.ex_lbl_P_Asesor_Nombre = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Asesor_Nombre = new Exferia_Controles.Exferia_TextBox();
this.ex_usc_P_Asesor_FechaAlta = new Exferia_Controles.Exferia_FechaSeleccion();
this.ex_usc_P_Asesor_FechaBaja = new Exferia_Controles.Exferia_FechaSeleccion();
this.ex_btn_P_Asesor_Grabar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Asesor_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_Paginador = new Exferia_Controles.Exferia_Paginador();
this.ex_btn_P_Asesor_BuscarCodigoSiguiente = new Exferia_Controles.Exferia_Button();
this.ex_usc_F3_P_Asesor_Empleado = new Exferia_Controles.Exferia_F3();
this.SuspendLayout();
//
// ex_lbl_P_Asesor_Codigo
//
this.ex_lbl_P_Asesor_Codigo.AutoSize = true;
this.ex_lbl_P_Asesor_Codigo.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Asesor_Codigo.Location = new System.Drawing.Point(29, 95);
this.ex_lbl_P_Asesor_Codigo.Name = "ex_lbl_P_Asesor_Codigo";
this.ex_lbl_P_Asesor_Codigo.Size = new System.Drawing.Size(40, 13);
this.ex_lbl_P_Asesor_Codigo.TabIndex = 39;
this.ex_lbl_P_Asesor_Codigo.Text = "Código";
//
// ex_txt_P_Asesor_Codigo
//
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_MaxLength = 10;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Asesor_Codigo.Location = new System.Drawing.Point(134, 90);
this.ex_txt_P_Asesor_Codigo.Name = "ex_txt_P_Asesor_Codigo";
this.ex_txt_P_Asesor_Codigo.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Asesor_Codigo.Size = new System.Drawing.Size(90, 20);
this.ex_txt_P_Asesor_Codigo.TabIndex = 5;
this.ex_txt_P_Asesor_Codigo.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_lbl_P_Asesor_Nombre
//
this.ex_lbl_P_Asesor_Nombre.AutoSize = true;
this.ex_lbl_P_Asesor_Nombre.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Asesor_Nombre.Location = new System.Drawing.Point(29, 144);
this.ex_lbl_P_Asesor_Nombre.Name = "ex_lbl_P_Asesor_Nombre";
this.ex_lbl_P_Asesor_Nombre.Size = new System.Drawing.Size(44, 13);
this.ex_lbl_P_Asesor_Nombre.TabIndex = 45;
this.ex_lbl_P_Asesor_Nombre.Text = "Nombre";
//
// ex_txt_P_Asesor_Nombre
//
this.ex_txt_P_Asesor_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_MaxLength = 50;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Asesor_Nombre.Location = new System.Drawing.Point(134, 140);
this.ex_txt_P_Asesor_Nombre.Name = "ex_txt_P_Asesor_Nombre";
this.ex_txt_P_Asesor_Nombre.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Asesor_Nombre.Size = new System.Drawing.Size(601, 20);
this.ex_txt_P_Asesor_Nombre.TabIndex = 20;
this.ex_txt_P_Asesor_Nombre.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_usc_P_Asesor_FechaAlta
//
this.ex_usc_P_Asesor_FechaAlta.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_P_Asesor_FechaAlta.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_P_Asesor_FechaAlta.Exferia_FechaSeleccion_Descripcion = "Fecha de Alta";
this.ex_usc_P_Asesor_FechaAlta.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_P_Asesor_FechaAlta.Exferia_FechaSeleccion_Obligatorio = true;
this.ex_usc_P_Asesor_FechaAlta.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_P_Asesor_FechaAlta.Location = new System.Drawing.Point(28, 164);
this.ex_usc_P_Asesor_FechaAlta.Name = "ex_usc_P_Asesor_FechaAlta";
this.ex_usc_P_Asesor_FechaAlta.Size = new System.Drawing.Size(218, 24);
this.ex_usc_P_Asesor_FechaAlta.TabIndex = 30;
this.ex_usc_P_Asesor_FechaAlta.Exferia_FechaSeleccion_TextBox_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged);
//
// ex_usc_P_Asesor_FechaBaja
//
this.ex_usc_P_Asesor_FechaBaja.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_P_Asesor_FechaBaja.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_P_Asesor_FechaBaja.Exferia_FechaSeleccion_Descripcion = "Fecha de Baja";
this.ex_usc_P_Asesor_FechaBaja.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_P_Asesor_FechaBaja.Exferia_FechaSeleccion_Obligatorio = false;
this.ex_usc_P_Asesor_FechaBaja.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_P_Asesor_FechaBaja.Location = new System.Drawing.Point(28, 189);
this.ex_usc_P_Asesor_FechaBaja.Name = "ex_usc_P_Asesor_FechaBaja";
this.ex_usc_P_Asesor_FechaBaja.Size = new System.Drawing.Size(218, 24);
this.ex_usc_P_Asesor_FechaBaja.TabIndex = 35;
this.ex_usc_P_Asesor_FechaBaja.Exferia_FechaSeleccion_TextBox_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged);
//
// ex_btn_P_Asesor_Grabar
//
this.ex_btn_P_Asesor_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Asesor_Grabar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Asesor_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Asesor_Grabar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Asesor_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR;
this.ex_btn_P_Asesor_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Asesor_Grabar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Asesor_Grabar.Exferia_Button_TabStop = false;
this.ex_btn_P_Asesor_Grabar.Exferia_Button_ToolTip = "Grabar (F2)";
this.ex_btn_P_Asesor_Grabar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Asesor_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Asesor_Grabar.Location = new System.Drawing.Point(758, 44);
this.ex_btn_P_Asesor_Grabar.Name = "ex_btn_P_Asesor_Grabar";
this.ex_btn_P_Asesor_Grabar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Asesor_Grabar.TabIndex = 53;
this.ex_btn_P_Asesor_Grabar.TabStop = false;
this.ex_btn_P_Asesor_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Asesor_Grabar.UseVisualStyleBackColor = false;
this.ex_btn_P_Asesor_Grabar.Click += new System.EventHandler(this.ex_btn_P_Asesor_Grabar_Click);
//
// ex_btn_P_Asesor_Borrar
//
this.ex_btn_P_Asesor_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Asesor_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Asesor_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Asesor_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Asesor_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_Asesor_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Asesor_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Asesor_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_Asesor_Borrar.Exferia_Button_ToolTip = "Borrar (F5)";
this.ex_btn_P_Asesor_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Asesor_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Asesor_Borrar.Location = new System.Drawing.Point(758, 86);
this.ex_btn_P_Asesor_Borrar.Name = "ex_btn_P_Asesor_Borrar";
this.ex_btn_P_Asesor_Borrar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Asesor_Borrar.TabIndex = 54;
this.ex_btn_P_Asesor_Borrar.TabStop = false;
this.ex_btn_P_Asesor_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Asesor_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_Asesor_Borrar.Click += new System.EventHandler(this.ex_btn_P_Asesor_Borrar_Click);
//
// ex_Paginador
//
this.ex_Paginador.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ex_Paginador.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_Paginador.Location = new System.Drawing.Point(28, 609);
this.ex_Paginador.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.ex_Paginador.Name = "ex_Paginador";
this.ex_Paginador.PaginaActual = 1;
this.ex_Paginador.PaginasTotales = 1;
this.ex_Paginador.Size = new System.Drawing.Size(405, 39);
this.ex_Paginador.TabIndex = 56;
this.ex_Paginador.TabStop = false;
this.ex_Paginador.txt_ValorPaginaActual = 999999999;
this.ex_Paginador.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click);
this.ex_Paginador.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress);
//
// ex_btn_P_Asesor_BuscarCodigoSiguiente
//
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BUSCARCODIGO_P;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Exferia_Button_TabStop = false;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Exferia_Button_ToolTip = "";
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Location = new System.Drawing.Point(227, 89);
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Name = "ex_btn_P_Asesor_BuscarCodigoSiguiente";
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.TabIndex = 10;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.TabStop = false;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.UseVisualStyleBackColor = false;
this.ex_btn_P_Asesor_BuscarCodigoSiguiente.Click += new System.EventHandler(this.ex_btn_P_Asesor_BuscarCodigoSiguiente_Click);
//
// ex_usc_F3_P_Asesor_Empleado
//
this.ex_usc_F3_P_Asesor_Empleado.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_usc_F3_P_Asesor_Empleado.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Ancho_Codigo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_CODIGO.Normal;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Ancho_Titulo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_TITULO.Normal;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Bloquear_F3_Descripcion = false;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Codigo = "";
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_DatosAuxiliares_1 = null;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_DatosAuxiliares_2 = null;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_DatosAuxiliares_3 = null;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Descripcion = "";
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_FechaBorrado = null;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Id = ((long)(-1));
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_IdEjercicio_Baja = null;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Objeto_ParaEnviarAMantenimiento = null;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_PRINCIPAL_Obligatorio = true;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = "";
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_PRINCIPAL_PermitirAdd = true;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_RELACIONADOS_Objetos_Hijos = null;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_RELACIONAL_TipoRelacion = Exferia_Controles.Exferia_F3.Exferia_F3_TipoRelacion.Ninguna;
this.ex_usc_F3_P_Asesor_Empleado.Exferia_F3_Titulo = "Empleado";
this.ex_usc_F3_P_Asesor_Empleado.Location = new System.Drawing.Point(28, 114);
this.ex_usc_F3_P_Asesor_Empleado.Name = "ex_usc_F3_P_Asesor_Empleado";
this.ex_usc_F3_P_Asesor_Empleado.Size = new System.Drawing.Size(715, 22);
this.ex_usc_F3_P_Asesor_Empleado.TabIndex = 15;
this.ex_usc_F3_P_Asesor_Empleado.Tag = "";
//
// P_Asesor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(797, 670);
this.Controls.Add(this.ex_usc_F3_P_Asesor_Empleado);
this.Controls.Add(this.ex_btn_P_Asesor_BuscarCodigoSiguiente);
this.Controls.Add(this.ex_Paginador);
this.Controls.Add(this.ex_btn_P_Asesor_Borrar);
this.Controls.Add(this.ex_btn_P_Asesor_Grabar);
this.Controls.Add(this.ex_usc_P_Asesor_FechaBaja);
this.Controls.Add(this.ex_usc_P_Asesor_FechaAlta);
this.Controls.Add(this.ex_txt_P_Asesor_Nombre);
this.Controls.Add(this.ex_lbl_P_Asesor_Nombre);
this.Controls.Add(this.ex_txt_P_Asesor_Codigo);
this.Controls.Add(this.ex_lbl_P_Asesor_Codigo);
this.Name = "P_Asesor";
this.Load += new System.EventHandler(this.P_Asesor_Load);
this.Shown += new System.EventHandler(this.P_Asesor_Shown);
this.Controls.SetChildIndex(this.ex_lbl_P_Asesor_Codigo, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Asesor_Codigo, 0);
this.Controls.SetChildIndex(this.ex_lbl_P_Asesor_Nombre, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Asesor_Nombre, 0);
this.Controls.SetChildIndex(this.ex_usc_P_Asesor_FechaAlta, 0);
this.Controls.SetChildIndex(this.ex_usc_P_Asesor_FechaBaja, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Asesor_Grabar, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Asesor_Borrar, 0);
this.Controls.SetChildIndex(this.ex_Paginador, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Asesor_BuscarCodigoSiguiente, 0);
this.Controls.SetChildIndex(this.ex_usc_F3_P_Asesor_Empleado, 0);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Exferia_Controles.Exferia_Label ex_lbl_P_Asesor_Codigo;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Asesor_Codigo;
private Exferia_Controles.Exferia_Label ex_lbl_P_Asesor_Nombre;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Asesor_Nombre;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_P_Asesor_FechaAlta;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_P_Asesor_FechaBaja;
private Exferia_Controles.Exferia_Button ex_btn_P_Asesor_Grabar;
private Exferia_Controles.Exferia_Button ex_btn_P_Asesor_Borrar;
private Exferia_Controles.Exferia_Paginador ex_Paginador;
private Exferia_Controles.Exferia_Button ex_btn_P_Asesor_BuscarCodigoSiguiente;
private Exferia_Controles.Exferia_F3 ex_usc_F3_P_Asesor_Empleado;
}
}

View File

@ -0,0 +1,504 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Visualizacion;
using Exferia_Controles;
using Exferia_EntityFramework;
using Exferia_Expedientes._3_Vistas.Controladoras;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
using static Exferia_Aplicacion.General.Enumerados;
namespace Exferia_Expedientes._3_Vistas
{
public partial class P_Asesor : Exferia_Formularios.P_Base_Mantenimientos
{
#region Variables General
private P_Asesor_Controladora g_obj_Controladora;
private bool g_bol_ConstructorPantalla_Terminado_Correctamente = true;
public PRV_OpcionesDetalle g_mdl_PRV_OpcionesDetalle = null;
internal List<INTERNO_Permisos_Modelo> g_lst_INTERNO_Permisos_Modelo = null;
//Variables paginador......................................................................................
public Funciones_Paginador g_obj_Funciones_Paginador;
private System.Windows.Forms.Timer g_timer_Paginar = new System.Windows.Forms.Timer();
#endregion
#region Objetos en Pantalla
//Exferia_FechaSeleccion
internal Exferia_FechaSeleccion Exferia_FechaSeleccion_Alta { get { return ex_usc_P_Asesor_FechaAlta; } }
internal Exferia_FechaSeleccion Exferia_FechaSeleccion_Baja { get { return ex_usc_P_Asesor_FechaBaja; } }
//Exferia_F3
internal Exferia_F3 Exferia_F3_Empleado { get { return ex_usc_F3_P_Asesor_Empleado; } }
//Exferia_Label
internal Exferia_Label Exferia_Label_Codigo { get { return ex_lbl_P_Asesor_Codigo; } }
internal Exferia_Label Exferia_Label_Nombre { get { return ex_lbl_P_Asesor_Nombre; } }
//Exferia_Paginador
internal Exferia_Paginador Exferia_Paginador_Asesor { get { return ex_Paginador; } }
//Exferia_TextBox
internal Exferia_TextBox Exferia_TextBox_Codigo { get { return ex_txt_P_Asesor_Codigo; } }
internal Exferia_TextBox Exferia_TextBox_Nombre { get { return ex_txt_P_Asesor_Nombre; } }
#endregion
#region Constructor
public P_Asesor(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle)
{
InitializeComponent();
try
{
Repintar.Empezar(this);
CheckForIllegalCrossThreadCalls = false;
//Empresa seleccionada y fecha de trabajo ....................................................
P_Base_ValoresGenerales = _mdl_INTERNO_ValoresGenerales_Modelo;
P_Base_FechaTrabajo = _dtt_FechaTrabajo;
//Instanciar Controladora
g_obj_Controladora = new P_Asesor_Controladora(this);
//Datos de Opciones Detalle
g_mdl_PRV_OpcionesDetalle = _mdl_PRV_OpcionesDetalle;
//Buscar los Permisos
g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(g_mdl_PRV_OpcionesDetalle.opcion);
//Poner los Botones que no se Spueden poner bloqueados o de solo lectura
ex_btn_P_Asesor_Borrar.Exferia_Button_Bloqueable = false;
ex_btn_P_Asesor_Grabar.Exferia_Button_Bloqueable = false;
//Mirar si hay que bloquear los controles, si solo puede ver los datos
if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false)
{
//Bloqueo los Controles
SoloLectura.Empezar(this, true);
}
//Titulo de la Pantalla .............................................................................
P_Base_TituloPantalla = _mdl_PRV_OpcionesDetalle.descripcion_TituloMantenimiento;
//Tipo de campo Codigo, poner como numérico o texto ...............................
if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO != null)
{
//Si no existe es Text
if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO.Where(m => m.nombreCampoCodigo.Equals(nameof(EPD_Asesores.codigo)) && m.opcion.Equals(g_mdl_PRV_OpcionesDetalle.opcion)).FirstOrDefault() != null)
{
ex_txt_P_Asesor_Codigo.Exferia_TextBox_Tipos = G_ENUM_TEXTBOX_TIPODATO.Digitos;
ex_txt_P_Asesor_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = ex_txt_P_Asesor_Codigo.Exferia_TextBox_MaxLength;
g_obj_Controladora.g_bol_CampoCodigo_Numerico = true;
}
}
//................................................................................
// Label con Empresa Seleccionada
if (P_Base_ValoresGenerales != null)
{
try
{
P_Base_Mantenimientos_InformacionEmpresaSeleccionada = P_Base_ValoresGenerales.str_Empresa_Descripcion + " - " +
"(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")";
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Asesor) + "/" + nameof(P_Asesor));
}
}
//....................................................................................................
//Bloquear pantalla hasta que termine la carga por defecto .....
Enabled = false;
//.............................................................
//Rellenar para los F3 .......................................
//EMPLEADO
ex_usc_F3_P_Asesor_Empleado.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = Variables.G_STR_OPCION_MAE_EMPLEADO_AUX_2;
ex_usc_F3_P_Asesor_Empleado.Exferia_F3_PantallaContenedora = this;
ex_usc_F3_P_Asesor_Empleado.Exferia_F3_PRINCIPAL_Obligatorio = true;
g_obj_Funciones_Paginador = new Funciones_Paginador();
}
catch (Control_Errores)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
catch (Exception ex)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Asesor) + "/" + nameof(P_Asesor));
}
finally
{
//Bloquear pantalla hasta que termine la carga por defecto .....
Enabled = true;
//.............................................................
}
}
#endregion
#region Inicio de pantalla
private void P_Asesor_Load(object sender, EventArgs e)
{
try
{
#region Paginacion
g_timer_Paginar.Interval = 1000;
g_timer_Paginar.Tick += delegate (object s, EventArgs ee)
{
g_timer_Paginar.Stop();
try
{
g_obj_Controladora.RecargarDatos();
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
};
#endregion
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Asesor) + "/" + nameof(P_Asesor_Load));
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
}
private void P_Asesor_Shown(object sender, EventArgs e)
{
try
{
if (g_bol_ConstructorPantalla_Terminado_Correctamente)
{
// Si el Tipo de Apertura de Pantalla es Añadir(g_int_tipoAperturaPantalla = 0), se desactivan los botones correspondientes
// Añadir
if (P_Base_TipoAperturaPantalla == 0)
{
P_Base_TituloPantalla = P_Base_TituloPantalla + " - Añadir";
ActivarBotones(false);
//Se cambia el valor de la variable para no salte el evento de se modifico algo
g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = false;
Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha = Variables.G_DTT_FECHA_INICIAL_PORDEFECTO.ToString("dd/MM/yyyy");
//Poner Texto predeterminado y foco
if ((P_Base_Campo_1 != null && P_Base_Campo_1.Trim().Length > 0) ||
(P_Base_Campo_2 != null && P_Base_Campo_2.Trim().Length > 0))
{
if (P_Base_Campo_1 != null && P_Base_Campo_1.Trim().Length > 0)
{
Exferia_TextBox_Codigo.Text = P_Base_Campo_1;
Exferia_TextBox_Nombre.Exferia_TextBox_Foco();
}
if (P_Base_Campo_2 != null && P_Base_Campo_2.Trim().Length > 0)
{
Exferia_TextBox_Nombre.Text = P_Base_Campo_2;
Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
}
else
{
Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = true;
}
// Modificar
else
{
ActivarBotones(true);
//Paginacion
if (P_Base_PantallaOrigen != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0)
{
g_obj_Funciones_Paginador.Listado_ARecorrer(P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.ToList(), 1);
// Asignando las paginas totales
Exferia_Paginador_Asesor.PaginasTotales = g_obj_Funciones_Paginador.Numero_Paginas_Totales;
}
else
{
Exferia_Paginador_Asesor.Visible = false;
}
g_obj_Controladora.RecargarDatos();
}
}
else
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Asesor) + "/" + nameof(P_Asesor_Shown));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
public void ActivarBotones(bool _bol_Activar)
{
if (Exferia_Paginador_Asesor.Visible)
{
Exferia_Paginador_Asesor.Visible = _bol_Activar;
}
if (ex_btn_P_Asesor_Borrar.Enabled)
{
ex_btn_P_Asesor_Borrar.Enabled = _bol_Activar;
}
}
#endregion
#region Procedimientos heredados de la Clase P_Base
//Se utiliza para actualizar los listados dentro de la pantalla, sin tener que guardar
public override void P_Base_ActualizarRegistro_ConObjeto(object _obj, G_ENUM_TIPOACCION _enum_TipoAccion)
{
try
{
if (_obj != null)
{
//Poner como que se modifico algo
P_Base_SeModificoDatosPantalla = true;
}
}
catch (Exception ex)
{
Mensajes.MostrarMensaje(ex.Message);
}
}
#endregion
#region Botones Grabar,Borrar,BuscarCodigoSiguiente
private void ex_btn_P_Asesor_Grabar_Click(object sender, EventArgs e)
{
Grabar();
}
private void Grabar()
{
if (//Añadir
(P_Base_TipoAperturaPantalla == 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Anadir, true)) ||
//Modificar
(P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true)))
{
g_obj_Controladora.GrabarDatos(true);
}
}
private void ex_btn_P_Asesor_Borrar_Click(object sender, EventArgs e)
{
Borrar();
}
private void Borrar()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Borrar, true))
{
g_obj_Controladora.BorrarDatos(true);
}
}
private void ex_btn_P_Asesor_BuscarCodigoSiguiente_Click(object sender, EventArgs e)
{
BuscarCodigoSiguiente();
}
private void BuscarCodigoSiguiente()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = g_obj_Controladora.Buscar_CodigoSiguiente();
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto == false && mdl_INTERNO_ValorDevuelto_Modelo.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_INTERNO_ValorDevuelto_Modelo.Mensaje);
}
else
{
P_Base_SeModificoDatosPantalla = true;
}
}
#endregion
#region Eventos del Paginador
protected void ctu_Paginacion_Primera_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Primera())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Asesor.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Anterior_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Anterior())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Asesor.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Siguiente_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Siguiente())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Asesor.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Ultima_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Ultima())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Asesor.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void txt_PaginaActual_KeyPress(object sender, KeyPressEventArgs e)
{
// Si pulsamos Enter.
if (e.KeyChar.Equals('\r'))
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
// Asignamos a la paginacion el valor del textbox
g_obj_Funciones_Paginador.SetPaginaActual(Exferia_Paginador_Asesor.txt_ValorPaginaActual - 1);
// Asignando al control la pagina actual.
Exferia_Paginador_Asesor.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_obj_Controladora.RecargarDatos();
}
}
}
#endregion
#region Teclas de acceso rapido
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
// Salir sin Seleccionar
if (keyData == Keys.F10)
{
Salir_P_Base();
return true;
}
// Grabar
else if (keyData == Keys.F2)
{
Grabar();
return true;
}
// Borrar
else if (keyData == Keys.F5)
{
Borrar();
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
#endregion
#region Controlar si se modifica algo
private void Controlar_Modificaciones_TextBox_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones_CheckBox_CheckedChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones()
{
if (Enabled && g_obj_Controladora != null && g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial)
{
P_Base_SeModificoDatosPantalla = true;
}
}
#endregion
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,509 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class P_Citacion
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.ex_lbl_P_Citacion_Codigo = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Citacion_Codigo = new Exferia_Controles.Exferia_TextBox();
this.ex_lbl_P_Citacion_Descripcion = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Citacion_Descripcion = new Exferia_Controles.Exferia_TextBox();
this.ex_usc_P_Citacion_Fecha = new Exferia_Controles.Exferia_FechaSeleccion();
this.ex_btn_P_Citacion_Grabar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Citacion_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_Paginador = new Exferia_Controles.Exferia_Paginador();
this.ex_btn_P_Citacion_BuscarCodigoSiguiente = new Exferia_Controles.Exferia_Button();
this.ex_usc_F3_P_Citacion_Procedimiento = new Exferia_Controles.Exferia_F3();
this.ex_lbl_P_Citacion_Fecha_HoraInicio = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Citacion_Hora = new Exferia_Controles.Exferia_TextBox_ConMascara();
this.exferia_TabControl1 = new Exferia_Controles.Exferia_TabControl();
this.tbp_Observaciones = new System.Windows.Forms.TabPage();
this.ex_txt_P_Citacion_Observaciones = new Exferia_Controles.Exferia_TextBox();
this.ex_txt_P_Citacion_Duracion = new Exferia_Controles.Exferia_TextBox();
this.ex_lbl_P_Citacion_Duracion = new Exferia_Controles.Exferia_Label();
this.exferia_Label6 = new Exferia_Controles.Exferia_Label();
this.ex_usc_F3_P_Citacion_Asesor = new Exferia_Controles.Exferia_F3();
this.exferia_TabControl1.SuspendLayout();
this.tbp_Observaciones.SuspendLayout();
this.SuspendLayout();
//
// ex_lbl_P_Citacion_Codigo
//
this.ex_lbl_P_Citacion_Codigo.AutoSize = true;
this.ex_lbl_P_Citacion_Codigo.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Citacion_Codigo.Location = new System.Drawing.Point(28, 80);
this.ex_lbl_P_Citacion_Codigo.Name = "ex_lbl_P_Citacion_Codigo";
this.ex_lbl_P_Citacion_Codigo.Size = new System.Drawing.Size(40, 13);
this.ex_lbl_P_Citacion_Codigo.TabIndex = 39;
this.ex_lbl_P_Citacion_Codigo.Text = "Código";
//
// ex_txt_P_Citacion_Codigo
//
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_MaxLength = 10;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Citacion_Codigo.Location = new System.Drawing.Point(134, 75);
this.ex_txt_P_Citacion_Codigo.Name = "ex_txt_P_Citacion_Codigo";
this.ex_txt_P_Citacion_Codigo.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Citacion_Codigo.Size = new System.Drawing.Size(90, 20);
this.ex_txt_P_Citacion_Codigo.TabIndex = 5;
this.ex_txt_P_Citacion_Codigo.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_lbl_P_Citacion_Descripcion
//
this.ex_lbl_P_Citacion_Descripcion.AutoSize = true;
this.ex_lbl_P_Citacion_Descripcion.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Citacion_Descripcion.Location = new System.Drawing.Point(28, 102);
this.ex_lbl_P_Citacion_Descripcion.Name = "ex_lbl_P_Citacion_Descripcion";
this.ex_lbl_P_Citacion_Descripcion.Size = new System.Drawing.Size(63, 13);
this.ex_lbl_P_Citacion_Descripcion.TabIndex = 45;
this.ex_lbl_P_Citacion_Descripcion.Text = "Descripción";
//
// ex_txt_P_Citacion_Descripcion
//
this.ex_txt_P_Citacion_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_MaxLength = 50;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Citacion_Descripcion.Location = new System.Drawing.Point(134, 98);
this.ex_txt_P_Citacion_Descripcion.Name = "ex_txt_P_Citacion_Descripcion";
this.ex_txt_P_Citacion_Descripcion.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Citacion_Descripcion.Size = new System.Drawing.Size(601, 20);
this.ex_txt_P_Citacion_Descripcion.TabIndex = 10;
this.ex_txt_P_Citacion_Descripcion.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_usc_P_Citacion_Fecha
//
this.ex_usc_P_Citacion_Fecha.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_P_Citacion_Fecha.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_P_Citacion_Fecha.Exferia_FechaSeleccion_Descripcion = "Fecha y Hora";
this.ex_usc_P_Citacion_Fecha.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_P_Citacion_Fecha.Exferia_FechaSeleccion_Obligatorio = true;
this.ex_usc_P_Citacion_Fecha.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_P_Citacion_Fecha.Location = new System.Drawing.Point(26, 120);
this.ex_usc_P_Citacion_Fecha.Name = "ex_usc_P_Citacion_Fecha";
this.ex_usc_P_Citacion_Fecha.Size = new System.Drawing.Size(219, 22);
this.ex_usc_P_Citacion_Fecha.TabIndex = 15;
this.ex_usc_P_Citacion_Fecha.Exferia_FechaSeleccion_TextBox_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged);
//
// ex_btn_P_Citacion_Grabar
//
this.ex_btn_P_Citacion_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Citacion_Grabar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Citacion_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Citacion_Grabar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Citacion_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR;
this.ex_btn_P_Citacion_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Citacion_Grabar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Citacion_Grabar.Exferia_Button_TabStop = false;
this.ex_btn_P_Citacion_Grabar.Exferia_Button_ToolTip = "Grabar (F2)";
this.ex_btn_P_Citacion_Grabar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Citacion_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Citacion_Grabar.Location = new System.Drawing.Point(758, 44);
this.ex_btn_P_Citacion_Grabar.Name = "ex_btn_P_Citacion_Grabar";
this.ex_btn_P_Citacion_Grabar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Citacion_Grabar.TabIndex = 53;
this.ex_btn_P_Citacion_Grabar.TabStop = false;
this.ex_btn_P_Citacion_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Citacion_Grabar.UseVisualStyleBackColor = false;
this.ex_btn_P_Citacion_Grabar.Click += new System.EventHandler(this.ex_btn_P_Citacion_Grabar_Click);
//
// ex_btn_P_Citacion_Borrar
//
this.ex_btn_P_Citacion_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Citacion_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Citacion_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Citacion_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Citacion_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_Citacion_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Citacion_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Citacion_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_Citacion_Borrar.Exferia_Button_ToolTip = "Borrar (F5)";
this.ex_btn_P_Citacion_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Citacion_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Citacion_Borrar.Location = new System.Drawing.Point(758, 86);
this.ex_btn_P_Citacion_Borrar.Name = "ex_btn_P_Citacion_Borrar";
this.ex_btn_P_Citacion_Borrar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Citacion_Borrar.TabIndex = 54;
this.ex_btn_P_Citacion_Borrar.TabStop = false;
this.ex_btn_P_Citacion_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Citacion_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_Citacion_Borrar.Click += new System.EventHandler(this.ex_btn_P_Citacion_Borrar_Click);
//
// ex_Paginador
//
this.ex_Paginador.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ex_Paginador.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_Paginador.Location = new System.Drawing.Point(28, 609);
this.ex_Paginador.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.ex_Paginador.Name = "ex_Paginador";
this.ex_Paginador.PaginaActual = 1;
this.ex_Paginador.PaginasTotales = 1;
this.ex_Paginador.Size = new System.Drawing.Size(405, 39);
this.ex_Paginador.TabIndex = 56;
this.ex_Paginador.TabStop = false;
this.ex_Paginador.txt_ValorPaginaActual = 999999999;
this.ex_Paginador.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click);
this.ex_Paginador.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress);
//
// ex_btn_P_Citacion_BuscarCodigoSiguiente
//
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BUSCARCODIGO_P;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Exferia_Button_TabStop = false;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Exferia_Button_ToolTip = "";
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Location = new System.Drawing.Point(227, 74);
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Name = "ex_btn_P_Citacion_BuscarCodigoSiguiente";
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.TabIndex = 10;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.TabStop = false;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.UseVisualStyleBackColor = false;
this.ex_btn_P_Citacion_BuscarCodigoSiguiente.Click += new System.EventHandler(this.ex_btn_P_Citacion_BuscarCodigoSiguiente_Click);
//
// ex_usc_F3_P_Citacion_Procedimiento
//
this.ex_usc_F3_P_Citacion_Procedimiento.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_usc_F3_P_Citacion_Procedimiento.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Ancho_Codigo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_CODIGO.Normal;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Ancho_Titulo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_TITULO.Normal;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Bloquear_F3_Descripcion = false;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Codigo = "";
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_DatosAuxiliares_1 = null;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_DatosAuxiliares_2 = null;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_DatosAuxiliares_3 = null;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Descripcion = "";
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_FechaBorrado = null;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Id = ((long)(-1));
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_IdEjercicio_Baja = null;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Objeto_ParaEnviarAMantenimiento = null;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_PRINCIPAL_Obligatorio = true;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = "";
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_PRINCIPAL_PermitirAdd = true;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_RELACIONADOS_Objetos_Hijos = null;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_RELACIONAL_TipoRelacion = Exferia_Controles.Exferia_F3.Exferia_F3_TipoRelacion.Ninguna;
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Titulo = "Procedimiento";
this.ex_usc_F3_P_Citacion_Procedimiento.Location = new System.Drawing.Point(28, 167);
this.ex_usc_F3_P_Citacion_Procedimiento.Name = "ex_usc_F3_P_Citacion_Procedimiento";
this.ex_usc_F3_P_Citacion_Procedimiento.Size = new System.Drawing.Size(715, 22);
this.ex_usc_F3_P_Citacion_Procedimiento.TabIndex = 30;
this.ex_usc_F3_P_Citacion_Procedimiento.Tag = "";
this.ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Evento_TerminoBusqueda += new System.EventHandler(this.ex_usc_F3_P_Citacion_Procedimiento_Exferia_F3_Evento_TerminoBusqueda);
//
// ex_lbl_P_Citacion_Fecha_HoraInicio
//
this.ex_lbl_P_Citacion_Fecha_HoraInicio.AutoSize = true;
this.ex_lbl_P_Citacion_Fecha_HoraInicio.Location = new System.Drawing.Point(243, 149);
this.ex_lbl_P_Citacion_Fecha_HoraInicio.Name = "ex_lbl_P_Citacion_Fecha_HoraInicio";
this.ex_lbl_P_Citacion_Fecha_HoraInicio.Size = new System.Drawing.Size(0, 13);
this.ex_lbl_P_Citacion_Fecha_HoraInicio.TabIndex = 60;
//
// ex_txt_P_Citacion_Hora
//
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_Mask = "00:00";
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_MaxLength = 32767;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_Multiline = false;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_NoBloquear = true;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_Obligatorio = true;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_PasswordChar = '\0';
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_ReadOnly = false;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_SelectionLength = 0;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_SelectionStart = 0;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_TabStop = true;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_Texto_Inicial = " :";
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_UseSystemPasswordChar = false;
this.ex_txt_P_Citacion_Hora.Location = new System.Drawing.Point(242, 121);
this.ex_txt_P_Citacion_Hora.Name = "ex_txt_P_Citacion_Hora";
this.ex_txt_P_Citacion_Hora.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Citacion_Hora.Size = new System.Drawing.Size(35, 20);
this.ex_txt_P_Citacion_Hora.TabIndex = 20;
this.ex_txt_P_Citacion_Hora.Text = " :";
this.ex_txt_P_Citacion_Hora.Exferia_TextBox_ConMascara_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// exferia_TabControl1
//
this.exferia_TabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.exferia_TabControl1.Controls.Add(this.tbp_Observaciones);
this.exferia_TabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black;
this.exferia_TabControl1.Location = new System.Drawing.Point(32, 218);
this.exferia_TabControl1.Name = "exferia_TabControl1";
this.exferia_TabControl1.SelectedIndex = 0;
this.exferia_TabControl1.Size = new System.Drawing.Size(707, 385);
this.exferia_TabControl1.TabIndex = 64;
//
// tbp_Observaciones
//
this.tbp_Observaciones.Controls.Add(this.ex_txt_P_Citacion_Observaciones);
this.tbp_Observaciones.Location = new System.Drawing.Point(4, 22);
this.tbp_Observaciones.Name = "tbp_Observaciones";
this.tbp_Observaciones.Padding = new System.Windows.Forms.Padding(3);
this.tbp_Observaciones.Size = new System.Drawing.Size(699, 359);
this.tbp_Observaciones.TabIndex = 1;
this.tbp_Observaciones.Text = "Observaciones";
this.tbp_Observaciones.UseVisualStyleBackColor = true;
//
// ex_txt_P_Citacion_Observaciones
//
this.ex_txt_P_Citacion_Observaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_MaxLength = 500;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Multiline = true;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Obligatorio = false;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Citacion_Observaciones.Location = new System.Drawing.Point(3, 3);
this.ex_txt_P_Citacion_Observaciones.Name = "ex_txt_P_Citacion_Observaciones";
this.ex_txt_P_Citacion_Observaciones.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Citacion_Observaciones.Size = new System.Drawing.Size(693, 350);
this.ex_txt_P_Citacion_Observaciones.TabIndex = 58;
this.ex_txt_P_Citacion_Observaciones.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_txt_P_Citacion_Duracion
//
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_MaxLength = 5;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Tipo_Decimal_Decimales = 0;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Digitos;
this.ex_txt_P_Citacion_Duracion.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Citacion_Duracion.Location = new System.Drawing.Point(134, 144);
this.ex_txt_P_Citacion_Duracion.Name = "ex_txt_P_Citacion_Duracion";
this.ex_txt_P_Citacion_Duracion.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Citacion_Duracion.Size = new System.Drawing.Size(103, 20);
this.ex_txt_P_Citacion_Duracion.TabIndex = 25;
//
// ex_lbl_P_Citacion_Duracion
//
this.ex_lbl_P_Citacion_Duracion.AutoSize = true;
this.ex_lbl_P_Citacion_Duracion.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Citacion_Duracion.Location = new System.Drawing.Point(28, 147);
this.ex_lbl_P_Citacion_Duracion.Name = "ex_lbl_P_Citacion_Duracion";
this.ex_lbl_P_Citacion_Duracion.Size = new System.Drawing.Size(50, 13);
this.ex_lbl_P_Citacion_Duracion.TabIndex = 68;
this.ex_lbl_P_Citacion_Duracion.Text = "Duración";
//
// exferia_Label6
//
this.exferia_Label6.AutoSize = true;
this.exferia_Label6.BackColor = System.Drawing.Color.Transparent;
this.exferia_Label6.Location = new System.Drawing.Point(241, 148);
this.exferia_Label6.Name = "exferia_Label6";
this.exferia_Label6.Size = new System.Drawing.Size(43, 13);
this.exferia_Label6.TabIndex = 69;
this.exferia_Label6.Text = "minutos";
//
// ex_usc_F3_P_Citacion_Asesor
//
this.ex_usc_F3_P_Citacion_Asesor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_usc_F3_P_Citacion_Asesor.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Ancho_Codigo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_CODIGO.Normal;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Ancho_Titulo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_TITULO.Normal;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Bloquear_F3_Descripcion = false;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Codigo = "";
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_DatosAuxiliares_1 = null;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_DatosAuxiliares_2 = null;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_DatosAuxiliares_3 = null;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Descripcion = "";
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_FechaBorrado = null;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Id = ((long)(-1));
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_IdEjercicio_Baja = null;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Objeto_ParaEnviarAMantenimiento = null;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_PRINCIPAL_Obligatorio = true;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = "";
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_PRINCIPAL_PermitirAdd = true;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_RELACIONADOS_Objetos_Hijos = null;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_RELACIONAL_TipoRelacion = Exferia_Controles.Exferia_F3.Exferia_F3_TipoRelacion.Ninguna;
this.ex_usc_F3_P_Citacion_Asesor.Exferia_F3_Titulo = "Asesor";
this.ex_usc_F3_P_Citacion_Asesor.Location = new System.Drawing.Point(28, 190);
this.ex_usc_F3_P_Citacion_Asesor.Name = "ex_usc_F3_P_Citacion_Asesor";
this.ex_usc_F3_P_Citacion_Asesor.Size = new System.Drawing.Size(715, 22);
this.ex_usc_F3_P_Citacion_Asesor.TabIndex = 35;
this.ex_usc_F3_P_Citacion_Asesor.Tag = "";
//
// P_Citacion
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(797, 670);
this.Controls.Add(this.ex_usc_F3_P_Citacion_Asesor);
this.Controls.Add(this.exferia_Label6);
this.Controls.Add(this.ex_txt_P_Citacion_Duracion);
this.Controls.Add(this.ex_lbl_P_Citacion_Duracion);
this.Controls.Add(this.exferia_TabControl1);
this.Controls.Add(this.ex_lbl_P_Citacion_Fecha_HoraInicio);
this.Controls.Add(this.ex_txt_P_Citacion_Hora);
this.Controls.Add(this.ex_usc_F3_P_Citacion_Procedimiento);
this.Controls.Add(this.ex_btn_P_Citacion_BuscarCodigoSiguiente);
this.Controls.Add(this.ex_Paginador);
this.Controls.Add(this.ex_btn_P_Citacion_Borrar);
this.Controls.Add(this.ex_btn_P_Citacion_Grabar);
this.Controls.Add(this.ex_usc_P_Citacion_Fecha);
this.Controls.Add(this.ex_txt_P_Citacion_Descripcion);
this.Controls.Add(this.ex_lbl_P_Citacion_Descripcion);
this.Controls.Add(this.ex_txt_P_Citacion_Codigo);
this.Controls.Add(this.ex_lbl_P_Citacion_Codigo);
this.Name = "P_Citacion";
this.Load += new System.EventHandler(this.P_Citacion_Load);
this.Shown += new System.EventHandler(this.P_Citacion_Shown);
this.Controls.SetChildIndex(this.ex_lbl_P_Citacion_Codigo, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Citacion_Codigo, 0);
this.Controls.SetChildIndex(this.ex_lbl_P_Citacion_Descripcion, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Citacion_Descripcion, 0);
this.Controls.SetChildIndex(this.ex_usc_P_Citacion_Fecha, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Citacion_Grabar, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Citacion_Borrar, 0);
this.Controls.SetChildIndex(this.ex_Paginador, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Citacion_BuscarCodigoSiguiente, 0);
this.Controls.SetChildIndex(this.ex_usc_F3_P_Citacion_Procedimiento, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Citacion_Hora, 0);
this.Controls.SetChildIndex(this.ex_lbl_P_Citacion_Fecha_HoraInicio, 0);
this.Controls.SetChildIndex(this.exferia_TabControl1, 0);
this.Controls.SetChildIndex(this.ex_lbl_P_Citacion_Duracion, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Citacion_Duracion, 0);
this.Controls.SetChildIndex(this.exferia_Label6, 0);
this.Controls.SetChildIndex(this.ex_usc_F3_P_Citacion_Asesor, 0);
this.exferia_TabControl1.ResumeLayout(false);
this.tbp_Observaciones.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Exferia_Controles.Exferia_Label ex_lbl_P_Citacion_Codigo;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Citacion_Codigo;
private Exferia_Controles.Exferia_Label ex_lbl_P_Citacion_Descripcion;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Citacion_Descripcion;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_P_Citacion_Fecha;
private Exferia_Controles.Exferia_Button ex_btn_P_Citacion_Grabar;
private Exferia_Controles.Exferia_Button ex_btn_P_Citacion_Borrar;
private Exferia_Controles.Exferia_Paginador ex_Paginador;
private Exferia_Controles.Exferia_Button ex_btn_P_Citacion_BuscarCodigoSiguiente;
private Exferia_Controles.Exferia_F3 ex_usc_F3_P_Citacion_Procedimiento;
private Exferia_Controles.Exferia_Label ex_lbl_P_Citacion_Fecha_HoraInicio;
private Exferia_Controles.Exferia_TextBox_ConMascara ex_txt_P_Citacion_Hora;
private Exferia_Controles.Exferia_TabControl exferia_TabControl1;
private System.Windows.Forms.TabPage tbp_Observaciones;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Citacion_Observaciones;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Citacion_Duracion;
private Exferia_Controles.Exferia_Label ex_lbl_P_Citacion_Duracion;
private Exferia_Controles.Exferia_Label exferia_Label6;
private Exferia_Controles.Exferia_F3 ex_usc_F3_P_Citacion_Asesor;
}
}

View File

@ -0,0 +1,534 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Visualizacion;
using Exferia_Controles;
using Exferia_EntityFramework;
using Exferia_Expedientes._3_Vistas.Controladoras;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.Linq;
using static Exferia_Aplicacion.General.Enumerados;
using Exferia_Formularios;
using System.Reflection;
using System.Globalization;
using Exferia_Aplicacion.Modelos_Listado_Filtros;
using Exferia_Aplicacion.Modelos_Agenda;
using Exferia_Expedientes._0_Modelos;
using Exferia_Expedientes._3_Vistas.ListadosSeleccion;
namespace Exferia_Expedientes._3_Vistas
{
public partial class P_Citacion : Exferia_Formularios.P_Base_Mantenimientos
{
#region Variables General
private P_Citacion_Controladora g_obj_Controladora;
private bool g_bol_ConstructorPantalla_Terminado_Correctamente = true;
public PRV_OpcionesDetalle g_mdl_PRV_OpcionesDetalle = null;
internal List<INTERNO_Permisos_Modelo> g_lst_INTERNO_Permisos_Modelo = null;
//Variables paginador......................................................................................
public Funciones_Paginador g_obj_Funciones_Paginador;
private System.Windows.Forms.Timer g_timer_Paginar = new System.Windows.Forms.Timer();
#endregion
#region Objetos en Pantalla
//Exferia_Button
internal Exferia_Button Exferia_Button_Borrar { get { return ex_btn_P_Citacion_Borrar; } }
//Exferia_FechaSeleccion
internal Exferia_FechaSeleccion Exferia_FechaSeleccion_Fecha { get { return ex_usc_P_Citacion_Fecha; } }
//Exferia_F3
internal Exferia_F3 Exferia_F3_Procedimiento { get { return ex_usc_F3_P_Citacion_Procedimiento; } }
internal Exferia_F3 Exferia_F3_Asesor { get { return ex_usc_F3_P_Citacion_Asesor; } }
//Exferia_Label
internal Exferia_Label Exferia_Label_Codigo { get { return ex_lbl_P_Citacion_Codigo; } }
internal Exferia_Label Exferia_Label_Descripcion { get { return ex_lbl_P_Citacion_Descripcion; } }
internal Exferia_Label Exferia_Label_Duracion { get { return ex_lbl_P_Citacion_Duracion; } }
//Exferia_Paginador
internal Exferia_Paginador Exferia_Paginador_Citacion { get { return ex_Paginador; } }
//Exferia_TextBox
internal Exferia_TextBox Exferia_TextBox_Codigo { get { return ex_txt_P_Citacion_Codigo; } }
internal Exferia_TextBox Exferia_TextBox_Descripcion { get { return ex_txt_P_Citacion_Descripcion; } }
internal Exferia_TextBox Exferia_TextBox_Observaciones { get { return ex_txt_P_Citacion_Observaciones; } }
internal Exferia_TextBox Exferia_TextBox_Duracion { get { return ex_txt_P_Citacion_Duracion; } }
//Exferia_TextBox_ConMascara
internal Exferia_TextBox_ConMascara Exferia_TextBox_ConMascara_Fecha_Hora { get { return ex_txt_P_Citacion_Hora; } }
#endregion
#region Constructor
public P_Citacion(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle)
{
Constructor(_mdl_INTERNO_ValoresGenerales_Modelo, _dtt_FechaTrabajo, _mdl_PRV_OpcionesDetalle,null);
}
public P_Citacion(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle, INTERNO_EPD_Procedimientos_Modelo _mdl_INTERNO_EPD_Procedimientos_Modelo)
{
Constructor(_mdl_INTERNO_ValoresGenerales_Modelo, _dtt_FechaTrabajo, _mdl_PRV_OpcionesDetalle, _mdl_INTERNO_EPD_Procedimientos_Modelo);
}
public void Constructor(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle, INTERNO_EPD_Procedimientos_Modelo _mdl_INTERNO_EPD_Procedimientos_Modelo)
{
InitializeComponent();
try
{
Repintar.Empezar(this);
CheckForIllegalCrossThreadCalls = false;
//Empresa seleccionada y fecha de trabajo ....................................................
P_Base_ValoresGenerales = _mdl_INTERNO_ValoresGenerales_Modelo;
P_Base_FechaTrabajo = _dtt_FechaTrabajo;
//Instanciar Controladora
g_obj_Controladora = new P_Citacion_Controladora(this, _mdl_INTERNO_EPD_Procedimientos_Modelo);
//Datos de Opciones Detalle
g_mdl_PRV_OpcionesDetalle = _mdl_PRV_OpcionesDetalle;
//Buscar los Permisos
g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(g_mdl_PRV_OpcionesDetalle.opcion);
//Poner los Botones que no se Spueden poner bloqueados o de solo lectura
ex_btn_P_Citacion_Borrar.Exferia_Button_Bloqueable = false;
ex_btn_P_Citacion_Grabar.Exferia_Button_Bloqueable = false;
//Mirar si hay que bloquear los controles, si solo puede ver los datos
if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false)
{
//Bloqueo los Controles
SoloLectura.Empezar(this, true);
}
//Titulo de la Pantalla .............................................................................
P_Base_TituloPantalla = _mdl_PRV_OpcionesDetalle.descripcion_TituloMantenimiento;
//Tipo de campo Codigo, poner como numérico o texto ...............................
if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO != null)
{
//Si no existe es Text
if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO.Where(m => m.nombreCampoCodigo.Equals(nameof(EPD_Citaciones.codigo)) && m.opcion.Equals(g_mdl_PRV_OpcionesDetalle.opcion)).FirstOrDefault() != null)
{
ex_txt_P_Citacion_Codigo.Exferia_TextBox_Tipos = G_ENUM_TEXTBOX_TIPODATO.Digitos;
ex_txt_P_Citacion_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = ex_txt_P_Citacion_Codigo.Exferia_TextBox_MaxLength;
g_obj_Controladora.g_bol_CampoCodigo_Numerico = true;
}
}
//................................................................................
// Label con Empresa Seleccionada
if (P_Base_ValoresGenerales != null)
{
try
{
P_Base_Mantenimientos_InformacionEmpresaSeleccionada = P_Base_ValoresGenerales.str_Empresa_Descripcion + " - " +
"(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")";
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Citacion) + "/" + nameof(P_Citacion));
}
}
//....................................................................................................
//Bloquear pantalla hasta que termine la carga por defecto .....
Enabled = false;
//.............................................................
//Rellenar para los F3 .......................................
//PROCEDIMIENTO
ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = Variables.G_STR_OPCION_EPD_PROCEDIMIENTOS;
ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_PantallaContenedora = this;
//ASESOR
ex_usc_F3_P_Citacion_Asesor.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = Variables.G_STR_OPCION_EPD_ASESORES;
ex_usc_F3_P_Citacion_Asesor.Exferia_F3_PantallaContenedora = this;
g_obj_Funciones_Paginador = new Funciones_Paginador();
}
catch (Control_Errores)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
catch (Exception ex)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Citacion) + "/" + nameof(P_Citacion));
}
finally
{
//Bloquear pantalla hasta que termine la carga por defecto .....
Enabled = true;
//.............................................................
}
}
#endregion
#region Inicio de pantalla
private void P_Citacion_Load(object sender, EventArgs e)
{
try
{
#region Paginacion
g_timer_Paginar.Interval = 1000;
g_timer_Paginar.Tick += delegate (object s, EventArgs ee)
{
g_timer_Paginar.Stop();
try
{
g_obj_Controladora.RecargarDatos();
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
};
#endregion
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Citacion) + "/" + nameof(P_Citacion_Load));
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
}
private void P_Citacion_Shown(object sender, EventArgs e)
{
try
{
if (g_bol_ConstructorPantalla_Terminado_Correctamente)
{
//Si se llamo desde Procedimiento, se pone el Procedimiento y se bloquea el F3
if (g_obj_Controladora!=null && g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo!=null)
{
Exferia_F3_Procedimiento.Exferia_F3_Id = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.id;
Exferia_F3_Procedimiento.Exferia_F3_Codigo = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.numero;
Exferia_F3_Procedimiento.Exferia_F3_Descripcion = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.EPD_Materias.descripcion;
Exferia_F3_Procedimiento.Exferia_F3_FechaBorrado = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.fechaBorrado;
Exferia_F3_Procedimiento.Enabled = false;
//Asesor
if (g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.EPD_Expedientes!=null &&
g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.EPD_Expedientes.EPD_Asesores!=null)
{
Exferia_F3_Asesor.Exferia_F3_Id = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.EPD_Expedientes.EPD_Asesores.id;
Exferia_F3_Asesor.Exferia_F3_Codigo = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.EPD_Expedientes.EPD_Asesores.codigo;
Exferia_F3_Asesor.Exferia_F3_Descripcion = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.EPD_Expedientes.EPD_Asesores.nombre;
Exferia_F3_Asesor.Exferia_F3_FechaBorrado = g_obj_Controladora.g_mdl_INTERNO_EPD_Procedimientos_Modelo.EPD_Expedientes.EPD_Asesores.fechaBorrado;
}
}
// Si el Tipo de Apertura de Pantalla es Añadir(g_int_tipoAperturaPantalla = 0), se desactivan los botones correspondientes
// Añadir
if (P_Base_TipoAperturaPantalla == 0)
{
P_Base_TituloPantalla = P_Base_TituloPantalla + " - Añadir";
ActivarBotones(false);
//Se cambia el valor de la variable para no salte el evento de se modifico algo
g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = false;
Exferia_FechaSeleccion_Fecha.Exferia_FechaSeleccion_Fecha = Variables.G_DTT_FECHA_INICIAL_PORDEFECTO.ToString("dd/MM/yyyy");
//Poner Texto predeterminado y foco
if ((P_Base_Campo_1 != null && P_Base_Campo_1.Trim().Length > 0) ||
(P_Base_Campo_2 != null && P_Base_Campo_2.Trim().Length > 0))
{
if (P_Base_Campo_1 != null && P_Base_Campo_1.Trim().Length > 0)
{
Exferia_TextBox_Codigo.Text = P_Base_Campo_1;
Exferia_TextBox_Descripcion.Exferia_TextBox_Foco();
}
if (P_Base_Campo_2 != null && P_Base_Campo_2.Trim().Length > 0)
{
Exferia_TextBox_Descripcion.Text = P_Base_Campo_2;
Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
}
else
{
Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = true;
}
// Modificar
else
{
ActivarBotones(true);
//Paginacion
if (P_Base_PantallaOrigen != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0)
{
g_obj_Funciones_Paginador.Listado_ARecorrer(P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.ToList(), 1);
// Asignando las paginas totales
Exferia_Paginador_Citacion.PaginasTotales = g_obj_Funciones_Paginador.Numero_Paginas_Totales;
}
else
{
Exferia_Paginador_Citacion.Visible = false;
}
g_obj_Controladora.RecargarDatos();
}
}
else
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Citacion) + "/" + nameof(P_Citacion_Shown));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
public void ActivarBotones(bool _bol_Activar)
{
if (Exferia_Paginador_Citacion.Visible)
{
Exferia_Paginador_Citacion.Visible = _bol_Activar;
}
if (ex_btn_P_Citacion_Borrar.Enabled)
{
ex_btn_P_Citacion_Borrar.Enabled = _bol_Activar;
}
}
#endregion
#region Botones Grabar,Borrar,BuscarCodigoSiguiente
private void ex_btn_P_Citacion_Grabar_Click(object sender, EventArgs e)
{
Grabar();
}
private void Grabar()
{
if (//Añadir
(P_Base_TipoAperturaPantalla == 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Anadir, true)) ||
//Modificar
(P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true)))
{
g_obj_Controladora.GrabarDatos();
}
}
private void ex_btn_P_Citacion_Borrar_Click(object sender, EventArgs e)
{
Borrar();
}
private void Borrar()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Borrar, true))
{
g_obj_Controladora.BorrarDatos(true);
}
}
private void ex_btn_P_Citacion_BuscarCodigoSiguiente_Click(object sender, EventArgs e)
{
BuscarCodigoSiguiente();
}
private void BuscarCodigoSiguiente()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = g_obj_Controladora.Buscar_CodigoSiguiente();
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto == false && mdl_INTERNO_ValorDevuelto_Modelo.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_INTERNO_ValorDevuelto_Modelo.Mensaje);
}
else
{
P_Base_SeModificoDatosPantalla = true;
}
}
#endregion
#region Procedimiento
private void ex_usc_F3_P_Citacion_Procedimiento_Exferia_F3_Evento_TerminoBusqueda(object sender, EventArgs e)
{
g_obj_Controladora.Procedimiento_Obtener_DatosAuxiliares(ex_usc_F3_P_Citacion_Procedimiento.Exferia_F3_Id);
}
#endregion
#region Eventos del Paginador
protected void ctu_Paginacion_Primera_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Primera())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Citacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Anterior_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Anterior())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Citacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Siguiente_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Siguiente())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Citacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Ultima_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Ultima())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Citacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void txt_PaginaActual_KeyPress(object sender, KeyPressEventArgs e)
{
// Si pulsamos Enter.
if (e.KeyChar.Equals('\r'))
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
// Asignamos a la paginacion el valor del textbox
g_obj_Funciones_Paginador.SetPaginaActual(Exferia_Paginador_Citacion.txt_ValorPaginaActual - 1);
// Asignando al control la pagina actual.
Exferia_Paginador_Citacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_obj_Controladora.RecargarDatos();
}
}
}
#endregion
#region Teclas de acceso rapido
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
// Salir sin Seleccionar
if (keyData == Keys.F10)
{
Salir_P_Base();
return true;
}
// Grabar
else if (keyData == Keys.F2)
{
Grabar();
return true;
}
// Borrar
else if (keyData == Keys.F5)
{
Borrar();
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
#endregion
#region Controlar si se modifica algo
private void Controlar_Modificaciones_TextBox_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones_CheckBox_CheckedChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones()
{
if (Enabled && g_obj_Controladora != null && g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial)
{
P_Base_SeModificoDatosPantalla = true;
}
}
#endregion
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,913 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class P_Demandado
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.ex_lbl_P_Demandado_Codigo = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Demandado_Codigo = new Exferia_Controles.Exferia_TextBox();
this.ex_lbl_P_Demandado_Nombre = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Demandado_Nombre = new Exferia_Controles.Exferia_TextBox();
this.ex_btn_P_Demandado_Grabar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Demandado_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_Paginador = new Exferia_Controles.Exferia_Paginador();
this.ex_btn_P_Demandado_BuscarCodigoSiguiente = new Exferia_Controles.Exferia_Button();
this.ex_txt_P_Demandado_Observaciones = new Exferia_Controles.Exferia_TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.ex_lbl_P_Demandado_CIF = new Exferia_Controles.Exferia_Label_SinColor();
this.ex_rdb_P_Demandado_CifTipo_Espanol = new Exferia_Controles.Exferia_RadioButton();
this.ex_rdb_P_Demandado_CifTipo_Otro = new Exferia_Controles.Exferia_RadioButton();
this.ex_usc_P_Demandado_CIF = new Exferia_Controles.Exferia_TextBox_CIFNIF();
this.exferia_TabControl1 = new Exferia_Controles.Exferia_TabControl();
this.tbp_Expedientes = new System.Windows.Forms.TabPage();
this.ex_pgb_P_Demandado_Expedientes = new Exferia_Controles.Exferia_BarraProgreso();
this.ex_cbo_P_Demandado_Expedientes_OrdenListado = new Exferia_Controles.Exferia_ComboBox();
this.ex_btn_P_Demandado_Expedientes_Ver = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Demandado_Expedientes_OrdenListado = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Demandado_Expedientes_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_dgv_P_Demandado_Expedientes = new Exferia_Controles.Exferia_DataGridView();
this.exferia_Label2 = new Exferia_Controles.Exferia_Label();
this.tbp_Citaciones = new System.Windows.Forms.TabPage();
this.ex_pgb_P_Demandado_Citaciones = new Exferia_Controles.Exferia_BarraProgreso();
this.ex_cbo_P_Demandado_Citaciones_OrdenListado = new Exferia_Controles.Exferia_ComboBox();
this.ex_btn_P_Demandado_Citaciones_Ver = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Demandado_Citaciones_OrdenListado = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Demandado_Citaciones_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_dgv_P_Demandado_Citaciones = new Exferia_Controles.Exferia_DataGridView();
this.exferia_Label5 = new Exferia_Controles.Exferia_Label();
this.tbp_Procedimientos = new System.Windows.Forms.TabPage();
this.ex_pgb_P_Demandado_Procedimientos = new Exferia_Controles.Exferia_BarraProgreso();
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado = new Exferia_Controles.Exferia_ComboBox();
this.ex_btn_P_Demandado_Procedimientos_Ver = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Demandado_Procedimientos_OrdenListado = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Demandado_Procedimientos_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_dgv_P_Demandado_Procedimientos = new Exferia_Controles.Exferia_DataGridView();
this.exferia_Label3 = new Exferia_Controles.Exferia_Label();
this.tbp_Observaciones = new System.Windows.Forms.TabPage();
this.panel1.SuspendLayout();
this.exferia_TabControl1.SuspendLayout();
this.tbp_Expedientes.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Demandado_Expedientes)).BeginInit();
this.tbp_Citaciones.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Demandado_Citaciones)).BeginInit();
this.tbp_Procedimientos.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Demandado_Procedimientos)).BeginInit();
this.tbp_Observaciones.SuspendLayout();
this.SuspendLayout();
//
// ex_lbl_P_Demandado_Codigo
//
this.ex_lbl_P_Demandado_Codigo.AutoSize = true;
this.ex_lbl_P_Demandado_Codigo.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Demandado_Codigo.Location = new System.Drawing.Point(29, 95);
this.ex_lbl_P_Demandado_Codigo.Name = "ex_lbl_P_Demandado_Codigo";
this.ex_lbl_P_Demandado_Codigo.Size = new System.Drawing.Size(40, 13);
this.ex_lbl_P_Demandado_Codigo.TabIndex = 39;
this.ex_lbl_P_Demandado_Codigo.Text = "Código";
//
// ex_txt_P_Demandado_Codigo
//
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_MaxLength = 10;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Demandado_Codigo.Location = new System.Drawing.Point(81, 88);
this.ex_txt_P_Demandado_Codigo.Name = "ex_txt_P_Demandado_Codigo";
this.ex_txt_P_Demandado_Codigo.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Demandado_Codigo.Size = new System.Drawing.Size(90, 20);
this.ex_txt_P_Demandado_Codigo.TabIndex = 5;
this.ex_txt_P_Demandado_Codigo.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_lbl_P_Demandado_Nombre
//
this.ex_lbl_P_Demandado_Nombre.AutoSize = true;
this.ex_lbl_P_Demandado_Nombre.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Demandado_Nombre.Location = new System.Drawing.Point(29, 118);
this.ex_lbl_P_Demandado_Nombre.Name = "ex_lbl_P_Demandado_Nombre";
this.ex_lbl_P_Demandado_Nombre.Size = new System.Drawing.Size(44, 13);
this.ex_lbl_P_Demandado_Nombre.TabIndex = 45;
this.ex_lbl_P_Demandado_Nombre.Text = "Nombre";
//
// ex_txt_P_Demandado_Nombre
//
this.ex_txt_P_Demandado_Nombre.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_MaxLength = 100;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Demandado_Nombre.Location = new System.Drawing.Point(81, 112);
this.ex_txt_P_Demandado_Nombre.Name = "ex_txt_P_Demandado_Nombre";
this.ex_txt_P_Demandado_Nombre.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Demandado_Nombre.Size = new System.Drawing.Size(654, 20);
this.ex_txt_P_Demandado_Nombre.TabIndex = 15;
this.ex_txt_P_Demandado_Nombre.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_btn_P_Demandado_Grabar
//
this.ex_btn_P_Demandado_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Demandado_Grabar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Grabar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR;
this.ex_btn_P_Demandado_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Grabar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Grabar.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Grabar.Exferia_Button_ToolTip = "Grabar (F2)";
this.ex_btn_P_Demandado_Grabar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Grabar.Location = new System.Drawing.Point(758, 44);
this.ex_btn_P_Demandado_Grabar.Name = "ex_btn_P_Demandado_Grabar";
this.ex_btn_P_Demandado_Grabar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Demandado_Grabar.TabIndex = 53;
this.ex_btn_P_Demandado_Grabar.TabStop = false;
this.ex_btn_P_Demandado_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Grabar.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Grabar.Click += new System.EventHandler(this.ex_btn_P_Demandado_Grabar_Click);
//
// ex_btn_P_Demandado_Borrar
//
this.ex_btn_P_Demandado_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Demandado_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_Demandado_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Borrar.Exferia_Button_ToolTip = "Borrar (F5)";
this.ex_btn_P_Demandado_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Borrar.Location = new System.Drawing.Point(758, 86);
this.ex_btn_P_Demandado_Borrar.Name = "ex_btn_P_Demandado_Borrar";
this.ex_btn_P_Demandado_Borrar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Demandado_Borrar.TabIndex = 54;
this.ex_btn_P_Demandado_Borrar.TabStop = false;
this.ex_btn_P_Demandado_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Borrar.Click += new System.EventHandler(this.ex_btn_P_Demandado_Borrar_Click);
//
// ex_Paginador
//
this.ex_Paginador.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ex_Paginador.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_Paginador.Location = new System.Drawing.Point(81, 622);
this.ex_Paginador.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.ex_Paginador.Name = "ex_Paginador";
this.ex_Paginador.PaginaActual = 1;
this.ex_Paginador.PaginasTotales = 1;
this.ex_Paginador.Size = new System.Drawing.Size(405, 39);
this.ex_Paginador.TabIndex = 56;
this.ex_Paginador.TabStop = false;
this.ex_Paginador.txt_ValorPaginaActual = 999999999;
this.ex_Paginador.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click);
this.ex_Paginador.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress);
//
// ex_btn_P_Demandado_BuscarCodigoSiguiente
//
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BUSCARCODIGO_P;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Exferia_Button_ToolTip = "";
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Location = new System.Drawing.Point(174, 87);
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Name = "ex_btn_P_Demandado_BuscarCodigoSiguiente";
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.TabIndex = 10;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.TabStop = false;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_BuscarCodigoSiguiente.Click += new System.EventHandler(this.ex_btn_P_Demandado_BuscarCodigoSiguiente_Click);
//
// ex_txt_P_Demandado_Observaciones
//
this.ex_txt_P_Demandado_Observaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_MaxLength = 32767;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Multiline = true;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Obligatorio = false;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Demandado_Observaciones.Location = new System.Drawing.Point(3, 3);
this.ex_txt_P_Demandado_Observaciones.Name = "ex_txt_P_Demandado_Observaciones";
this.ex_txt_P_Demandado_Observaciones.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Demandado_Observaciones.Size = new System.Drawing.Size(587, 263);
this.ex_txt_P_Demandado_Observaciones.TabIndex = 25;
this.ex_txt_P_Demandado_Observaciones.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.ex_lbl_P_Demandado_CIF);
this.panel1.Controls.Add(this.ex_rdb_P_Demandado_CifTipo_Espanol);
this.panel1.Controls.Add(this.ex_rdb_P_Demandado_CifTipo_Otro);
this.panel1.Controls.Add(this.ex_usc_P_Demandado_CIF);
this.panel1.Location = new System.Drawing.Point(81, 135);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(218, 63);
this.panel1.TabIndex = 12;
//
// ex_lbl_P_Demandado_CIF
//
this.ex_lbl_P_Demandado_CIF.AutoSize = true;
this.ex_lbl_P_Demandado_CIF.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_lbl_P_Demandado_CIF.Location = new System.Drawing.Point(0, 0);
this.ex_lbl_P_Demandado_CIF.Name = "ex_lbl_P_Demandado_CIF";
this.ex_lbl_P_Demandado_CIF.Size = new System.Drawing.Size(60, 16);
this.ex_lbl_P_Demandado_CIF.TabIndex = 317;
this.ex_lbl_P_Demandado_CIF.Text = "CIF/NIF";
//
// ex_rdb_P_Demandado_CifTipo_Espanol
//
this.ex_rdb_P_Demandado_CifTipo_Espanol.AutoSize = true;
this.ex_rdb_P_Demandado_CifTipo_Espanol.BackColor = System.Drawing.Color.Transparent;
this.ex_rdb_P_Demandado_CifTipo_Espanol.Checked = true;
this.ex_rdb_P_Demandado_CifTipo_Espanol.Exferia_RadioButton_Bloqueable = true;
this.ex_rdb_P_Demandado_CifTipo_Espanol.Exferia_RadioButton_Obligatorio = false;
this.ex_rdb_P_Demandado_CifTipo_Espanol.Exferia_RadioButton_ReadOnly = false;
this.ex_rdb_P_Demandado_CifTipo_Espanol.Exferia_RadioButton_Repintar_ColorFondoLetra = true;
this.ex_rdb_P_Demandado_CifTipo_Espanol.Location = new System.Drawing.Point(36, 17);
this.ex_rdb_P_Demandado_CifTipo_Espanol.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ex_rdb_P_Demandado_CifTipo_Espanol.Name = "ex_rdb_P_Demandado_CifTipo_Espanol";
this.ex_rdb_P_Demandado_CifTipo_Espanol.Size = new System.Drawing.Size(63, 17);
this.ex_rdb_P_Demandado_CifTipo_Espanol.TabIndex = 21;
this.ex_rdb_P_Demandado_CifTipo_Espanol.TabStop = true;
this.ex_rdb_P_Demandado_CifTipo_Espanol.Tag = "1";
this.ex_rdb_P_Demandado_CifTipo_Espanol.Text = "Español";
this.ex_rdb_P_Demandado_CifTipo_Espanol.UseVisualStyleBackColor = true;
//
// ex_rdb_P_Demandado_CifTipo_Otro
//
this.ex_rdb_P_Demandado_CifTipo_Otro.AutoSize = true;
this.ex_rdb_P_Demandado_CifTipo_Otro.BackColor = System.Drawing.Color.Transparent;
this.ex_rdb_P_Demandado_CifTipo_Otro.Exferia_RadioButton_Bloqueable = true;
this.ex_rdb_P_Demandado_CifTipo_Otro.Exferia_RadioButton_Obligatorio = false;
this.ex_rdb_P_Demandado_CifTipo_Otro.Exferia_RadioButton_ReadOnly = false;
this.ex_rdb_P_Demandado_CifTipo_Otro.Exferia_RadioButton_Repintar_ColorFondoLetra = true;
this.ex_rdb_P_Demandado_CifTipo_Otro.Location = new System.Drawing.Point(102, 17);
this.ex_rdb_P_Demandado_CifTipo_Otro.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ex_rdb_P_Demandado_CifTipo_Otro.Name = "ex_rdb_P_Demandado_CifTipo_Otro";
this.ex_rdb_P_Demandado_CifTipo_Otro.Size = new System.Drawing.Size(45, 17);
this.ex_rdb_P_Demandado_CifTipo_Otro.TabIndex = 22;
this.ex_rdb_P_Demandado_CifTipo_Otro.TabStop = true;
this.ex_rdb_P_Demandado_CifTipo_Otro.Tag = "1";
this.ex_rdb_P_Demandado_CifTipo_Otro.Text = "Otro";
this.ex_rdb_P_Demandado_CifTipo_Otro.UseVisualStyleBackColor = true;
//
// ex_usc_P_Demandado_CIF
//
this.ex_usc_P_Demandado_CIF.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_P_Demandado_CIF.Exferia_TextBox_CIFNIF_MaxLength = 16;
this.ex_usc_P_Demandado_CIF.Exferia_TextBox_CIFNIF_Obligatorio = false;
this.ex_usc_P_Demandado_CIF.Exferia_TextBox_CIFNIF_PaisCodigo_Validacion = "";
this.ex_usc_P_Demandado_CIF.Exferia_TextBox_CIFNIF_Titulo = "";
this.ex_usc_P_Demandado_CIF.Exferia_TextBox_CIFNIF_Valor = "";
this.ex_usc_P_Demandado_CIF.Location = new System.Drawing.Point(26, 37);
this.ex_usc_P_Demandado_CIF.Margin = new System.Windows.Forms.Padding(4);
this.ex_usc_P_Demandado_CIF.Name = "ex_usc_P_Demandado_CIF";
this.ex_usc_P_Demandado_CIF.Size = new System.Drawing.Size(186, 20);
this.ex_usc_P_Demandado_CIF.TabIndex = 20;
//
// exferia_TabControl1
//
this.exferia_TabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.exferia_TabControl1.Controls.Add(this.tbp_Expedientes);
this.exferia_TabControl1.Controls.Add(this.tbp_Citaciones);
this.exferia_TabControl1.Controls.Add(this.tbp_Procedimientos);
this.exferia_TabControl1.Controls.Add(this.tbp_Observaciones);
this.exferia_TabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black;
this.exferia_TabControl1.Location = new System.Drawing.Point(81, 203);
this.exferia_TabControl1.Name = "exferia_TabControl1";
this.exferia_TabControl1.SelectedIndex = 0;
this.exferia_TabControl1.Size = new System.Drawing.Size(654, 413);
this.exferia_TabControl1.TabIndex = 188;
//
// tbp_Expedientes
//
this.tbp_Expedientes.Controls.Add(this.ex_pgb_P_Demandado_Expedientes);
this.tbp_Expedientes.Controls.Add(this.ex_cbo_P_Demandado_Expedientes_OrdenListado);
this.tbp_Expedientes.Controls.Add(this.ex_btn_P_Demandado_Expedientes_Ver);
this.tbp_Expedientes.Controls.Add(this.ex_btn_P_Demandado_Expedientes_OrdenListado);
this.tbp_Expedientes.Controls.Add(this.ex_btn_P_Demandado_Expedientes_Filtros);
this.tbp_Expedientes.Controls.Add(this.ex_dgv_P_Demandado_Expedientes);
this.tbp_Expedientes.Controls.Add(this.exferia_Label2);
this.tbp_Expedientes.Location = new System.Drawing.Point(4, 22);
this.tbp_Expedientes.Name = "tbp_Expedientes";
this.tbp_Expedientes.Size = new System.Drawing.Size(646, 387);
this.tbp_Expedientes.TabIndex = 2;
this.tbp_Expedientes.Text = "Expedientes";
this.tbp_Expedientes.UseVisualStyleBackColor = true;
//
// ex_pgb_P_Demandado_Expedientes
//
this.ex_pgb_P_Demandado_Expedientes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_pgb_P_Demandado_Expedientes.BackColor = System.Drawing.Color.Transparent;
this.ex_pgb_P_Demandado_Expedientes.Exferia_BarraProgreso_Total = 0;
this.ex_pgb_P_Demandado_Expedientes.Location = new System.Drawing.Point(8, 362);
this.ex_pgb_P_Demandado_Expedientes.Name = "ex_pgb_P_Demandado_Expedientes";
this.ex_pgb_P_Demandado_Expedientes.Size = new System.Drawing.Size(635, 21);
this.ex_pgb_P_Demandado_Expedientes.TabIndex = 1044;
this.ex_pgb_P_Demandado_Expedientes.TabStop = false;
//
// ex_cbo_P_Demandado_Expedientes_OrdenListado
//
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Exferia_ComboBox_Bloqueable = true;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Exferia_ComboBox_BorderColor = System.Drawing.Color.Black;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Exferia_ComboBox_BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Exferia_ComboBox_Obligatorio = false;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.FormattingEnabled = true;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Location = new System.Drawing.Point(52, 7);
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Name = "ex_cbo_P_Demandado_Expedientes_OrdenListado";
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.Size = new System.Drawing.Size(246, 21);
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.TabIndex = 1036;
this.ex_cbo_P_Demandado_Expedientes_OrdenListado.SelectedIndexChanged += new System.EventHandler(this.ex_cbo_P_Demandado_Expedientes_OrdenListado_SelectedIndexChanged);
//
// ex_btn_P_Demandado_Expedientes_Ver
//
this.ex_btn_P_Demandado_Expedientes_Ver.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Expedientes_Ver.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Expedientes_Ver.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Expedientes_Ver.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_VER;
this.ex_btn_P_Demandado_Expedientes_Ver.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Expedientes_Ver.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Expedientes_Ver.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Expedientes_Ver.Exferia_Button_ToolTip = "Ver expediente";
this.ex_btn_P_Demandado_Expedientes_Ver.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Expedientes_Ver.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Expedientes_Ver.Location = new System.Drawing.Point(8, 34);
this.ex_btn_P_Demandado_Expedientes_Ver.Name = "ex_btn_P_Demandado_Expedientes_Ver";
this.ex_btn_P_Demandado_Expedientes_Ver.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Demandado_Expedientes_Ver.TabIndex = 1039;
this.ex_btn_P_Demandado_Expedientes_Ver.TabStop = false;
this.ex_btn_P_Demandado_Expedientes_Ver.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Expedientes_Ver.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Expedientes_Ver.Click += new System.EventHandler(this.ex_btn_P_Demandado_Expedientes_Ver_Click);
//
// ex_btn_P_Demandado_Expedientes_OrdenListado
//
this.ex_btn_P_Demandado_Expedientes_OrdenListado.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ORDEN_ASC;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Exferia_Button_ToolTip = "Cambiar Orden del Listado";
this.ex_btn_P_Demandado_Expedientes_OrdenListado.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Location = new System.Drawing.Point(303, 7);
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Name = "ex_btn_P_Demandado_Expedientes_OrdenListado";
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Demandado_Expedientes_OrdenListado.TabIndex = 1043;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.TabStop = false;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Tag = "1";
this.ex_btn_P_Demandado_Expedientes_OrdenListado.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Expedientes_OrdenListado.Click += new System.EventHandler(this.ex_btn_P_Demandado_Expedientes_OrdenListado_Click);
//
// ex_btn_P_Demandado_Expedientes_Filtros
//
this.ex_btn_P_Demandado_Expedientes_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Expedientes_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Expedientes_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Expedientes_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_FILTROS;
this.ex_btn_P_Demandado_Expedientes_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Expedientes_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Expedientes_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Expedientes_Filtros.Exferia_Button_ToolTip = "Mostrar/Filtrar";
this.ex_btn_P_Demandado_Expedientes_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Expedientes_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Expedientes_Filtros.Location = new System.Drawing.Point(39, 34);
this.ex_btn_P_Demandado_Expedientes_Filtros.Name = "ex_btn_P_Demandado_Expedientes_Filtros";
this.ex_btn_P_Demandado_Expedientes_Filtros.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Demandado_Expedientes_Filtros.TabIndex = 1041;
this.ex_btn_P_Demandado_Expedientes_Filtros.TabStop = false;
this.ex_btn_P_Demandado_Expedientes_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Expedientes_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Expedientes_Filtros.Click += new System.EventHandler(this.ex_btn_P_Demandado_Expedientes_Filtros_Click);
//
// ex_dgv_P_Demandado_Expedientes
//
this.ex_dgv_P_Demandado_Expedientes.AllowDrop = true;
this.ex_dgv_P_Demandado_Expedientes.AllowUserToAddRows = false;
this.ex_dgv_P_Demandado_Expedientes.AllowUserToDeleteRows = false;
this.ex_dgv_P_Demandado_Expedientes.AllowUserToOrderColumns = true;
this.ex_dgv_P_Demandado_Expedientes.AllowUserToResizeRows = false;
this.ex_dgv_P_Demandado_Expedientes.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_P_Demandado_Expedientes.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_P_Demandado_Expedientes.ColumnHeadersHeight = 17;
this.ex_dgv_P_Demandado_Expedientes.EnableHeadersVisualStyles = false;
this.ex_dgv_P_Demandado_Expedientes.Location = new System.Drawing.Point(8, 65);
this.ex_dgv_P_Demandado_Expedientes.Name = "ex_dgv_P_Demandado_Expedientes";
this.ex_dgv_P_Demandado_Expedientes.ReadOnly = true;
this.ex_dgv_P_Demandado_Expedientes.RowHeadersVisible = false;
this.ex_dgv_P_Demandado_Expedientes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_P_Demandado_Expedientes.Size = new System.Drawing.Size(635, 291);
this.ex_dgv_P_Demandado_Expedientes.TabIndex = 1040;
this.ex_dgv_P_Demandado_Expedientes.TabStop = false;
this.ex_dgv_P_Demandado_Expedientes.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ex_dgv_P_Demandado_Expedientes_CellDoubleClick);
this.ex_dgv_P_Demandado_Expedientes.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.ex_dgv_P_Demandado_Expedientes_CellFormatting);
this.ex_dgv_P_Demandado_Expedientes.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.ex_dgv_P_Demandado_Expedientes_ColumnHeaderMouseClick);
//
// exferia_Label2
//
this.exferia_Label2.AutoSize = true;
this.exferia_Label2.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label2.Location = new System.Drawing.Point(10, 12);
this.exferia_Label2.Name = "exferia_Label2";
this.exferia_Label2.Size = new System.Drawing.Size(36, 13);
this.exferia_Label2.TabIndex = 1042;
this.exferia_Label2.Text = "Orden";
//
// tbp_Citaciones
//
this.tbp_Citaciones.Controls.Add(this.ex_pgb_P_Demandado_Citaciones);
this.tbp_Citaciones.Controls.Add(this.ex_cbo_P_Demandado_Citaciones_OrdenListado);
this.tbp_Citaciones.Controls.Add(this.ex_btn_P_Demandado_Citaciones_Ver);
this.tbp_Citaciones.Controls.Add(this.ex_btn_P_Demandado_Citaciones_OrdenListado);
this.tbp_Citaciones.Controls.Add(this.ex_btn_P_Demandado_Citaciones_Filtros);
this.tbp_Citaciones.Controls.Add(this.ex_dgv_P_Demandado_Citaciones);
this.tbp_Citaciones.Controls.Add(this.exferia_Label5);
this.tbp_Citaciones.Location = new System.Drawing.Point(4, 22);
this.tbp_Citaciones.Name = "tbp_Citaciones";
this.tbp_Citaciones.Size = new System.Drawing.Size(646, 387);
this.tbp_Citaciones.TabIndex = 3;
this.tbp_Citaciones.Text = "Citaciones";
this.tbp_Citaciones.UseVisualStyleBackColor = true;
//
// ex_pgb_P_Demandado_Citaciones
//
this.ex_pgb_P_Demandado_Citaciones.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_pgb_P_Demandado_Citaciones.BackColor = System.Drawing.Color.Transparent;
this.ex_pgb_P_Demandado_Citaciones.Exferia_BarraProgreso_Total = 0;
this.ex_pgb_P_Demandado_Citaciones.Location = new System.Drawing.Point(3, 363);
this.ex_pgb_P_Demandado_Citaciones.Name = "ex_pgb_P_Demandado_Citaciones";
this.ex_pgb_P_Demandado_Citaciones.Size = new System.Drawing.Size(640, 21);
this.ex_pgb_P_Demandado_Citaciones.TabIndex = 1035;
this.ex_pgb_P_Demandado_Citaciones.TabStop = false;
//
// ex_cbo_P_Demandado_Citaciones_OrdenListado
//
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Exferia_ComboBox_Bloqueable = true;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Exferia_ComboBox_BorderColor = System.Drawing.Color.Black;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Exferia_ComboBox_BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Exferia_ComboBox_Obligatorio = false;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.FormattingEnabled = true;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Location = new System.Drawing.Point(52, 7);
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Name = "ex_cbo_P_Demandado_Citaciones_OrdenListado";
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.Size = new System.Drawing.Size(246, 21);
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.TabIndex = 1027;
this.ex_cbo_P_Demandado_Citaciones_OrdenListado.SelectedIndexChanged += new System.EventHandler(this.ex_cbo_P_Demandado_Citaciones_OrdenListado_SelectedIndexChanged);
//
// ex_btn_P_Demandado_Citaciones_Ver
//
this.ex_btn_P_Demandado_Citaciones_Ver.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Citaciones_Ver.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Citaciones_Ver.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Citaciones_Ver.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_VER;
this.ex_btn_P_Demandado_Citaciones_Ver.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Citaciones_Ver.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Citaciones_Ver.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Citaciones_Ver.Exferia_Button_ToolTip = "Ver citación";
this.ex_btn_P_Demandado_Citaciones_Ver.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Citaciones_Ver.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Citaciones_Ver.Location = new System.Drawing.Point(8, 34);
this.ex_btn_P_Demandado_Citaciones_Ver.Name = "ex_btn_P_Demandado_Citaciones_Ver";
this.ex_btn_P_Demandado_Citaciones_Ver.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Demandado_Citaciones_Ver.TabIndex = 1030;
this.ex_btn_P_Demandado_Citaciones_Ver.TabStop = false;
this.ex_btn_P_Demandado_Citaciones_Ver.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Citaciones_Ver.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Citaciones_Ver.Click += new System.EventHandler(this.ex_btn_P_Demandado_Citaciones_Ver_Click);
//
// ex_btn_P_Demandado_Citaciones_OrdenListado
//
this.ex_btn_P_Demandado_Citaciones_OrdenListado.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ORDEN_ASC;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Exferia_Button_ToolTip = "Cambiar Orden del Listado";
this.ex_btn_P_Demandado_Citaciones_OrdenListado.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Location = new System.Drawing.Point(303, 7);
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Name = "ex_btn_P_Demandado_Citaciones_OrdenListado";
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Demandado_Citaciones_OrdenListado.TabIndex = 1034;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.TabStop = false;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Tag = "1";
this.ex_btn_P_Demandado_Citaciones_OrdenListado.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Citaciones_OrdenListado.Click += new System.EventHandler(this.ex_btn_P_Demandado_Citaciones_OrdenListado_Click);
//
// ex_btn_P_Demandado_Citaciones_Filtros
//
this.ex_btn_P_Demandado_Citaciones_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Citaciones_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Citaciones_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Citaciones_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_FILTROS;
this.ex_btn_P_Demandado_Citaciones_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Citaciones_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Citaciones_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Citaciones_Filtros.Exferia_Button_ToolTip = "Mostrar/Filtrar";
this.ex_btn_P_Demandado_Citaciones_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Citaciones_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Citaciones_Filtros.Location = new System.Drawing.Point(39, 34);
this.ex_btn_P_Demandado_Citaciones_Filtros.Name = "ex_btn_P_Demandado_Citaciones_Filtros";
this.ex_btn_P_Demandado_Citaciones_Filtros.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Demandado_Citaciones_Filtros.TabIndex = 1032;
this.ex_btn_P_Demandado_Citaciones_Filtros.TabStop = false;
this.ex_btn_P_Demandado_Citaciones_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Citaciones_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Citaciones_Filtros.Click += new System.EventHandler(this.ex_btn_P_Demandado_Citaciones_Filtros_Click);
//
// ex_dgv_P_Demandado_Citaciones
//
this.ex_dgv_P_Demandado_Citaciones.AllowDrop = true;
this.ex_dgv_P_Demandado_Citaciones.AllowUserToAddRows = false;
this.ex_dgv_P_Demandado_Citaciones.AllowUserToDeleteRows = false;
this.ex_dgv_P_Demandado_Citaciones.AllowUserToOrderColumns = true;
this.ex_dgv_P_Demandado_Citaciones.AllowUserToResizeRows = false;
this.ex_dgv_P_Demandado_Citaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_P_Demandado_Citaciones.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_P_Demandado_Citaciones.ColumnHeadersHeight = 17;
this.ex_dgv_P_Demandado_Citaciones.EnableHeadersVisualStyles = false;
this.ex_dgv_P_Demandado_Citaciones.Location = new System.Drawing.Point(8, 65);
this.ex_dgv_P_Demandado_Citaciones.Name = "ex_dgv_P_Demandado_Citaciones";
this.ex_dgv_P_Demandado_Citaciones.ReadOnly = true;
this.ex_dgv_P_Demandado_Citaciones.RowHeadersVisible = false;
this.ex_dgv_P_Demandado_Citaciones.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_P_Demandado_Citaciones.Size = new System.Drawing.Size(635, 292);
this.ex_dgv_P_Demandado_Citaciones.TabIndex = 1031;
this.ex_dgv_P_Demandado_Citaciones.TabStop = false;
this.ex_dgv_P_Demandado_Citaciones.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ex_dgv_P_Demandado_Citaciones_CellDoubleClick);
this.ex_dgv_P_Demandado_Citaciones.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.ex_dgv_P_Demandado_Citaciones_CellFormatting);
this.ex_dgv_P_Demandado_Citaciones.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.ex_dgv_P_Demandado_Citaciones_ColumnHeaderMouseClick);
//
// exferia_Label5
//
this.exferia_Label5.AutoSize = true;
this.exferia_Label5.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label5.Location = new System.Drawing.Point(10, 12);
this.exferia_Label5.Name = "exferia_Label5";
this.exferia_Label5.Size = new System.Drawing.Size(36, 13);
this.exferia_Label5.TabIndex = 1033;
this.exferia_Label5.Text = "Orden";
//
// tbp_Procedimientos
//
this.tbp_Procedimientos.Controls.Add(this.ex_pgb_P_Demandado_Procedimientos);
this.tbp_Procedimientos.Controls.Add(this.ex_cbo_P_Demandado_Procedimientos_OrdenListado);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Demandado_Procedimientos_Ver);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Demandado_Procedimientos_OrdenListado);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Demandado_Procedimientos_Filtros);
this.tbp_Procedimientos.Controls.Add(this.ex_dgv_P_Demandado_Procedimientos);
this.tbp_Procedimientos.Controls.Add(this.exferia_Label3);
this.tbp_Procedimientos.Location = new System.Drawing.Point(4, 22);
this.tbp_Procedimientos.Name = "tbp_Procedimientos";
this.tbp_Procedimientos.Padding = new System.Windows.Forms.Padding(3);
this.tbp_Procedimientos.Size = new System.Drawing.Size(646, 387);
this.tbp_Procedimientos.TabIndex = 0;
this.tbp_Procedimientos.Text = "Procedimientos";
this.tbp_Procedimientos.UseVisualStyleBackColor = true;
//
// ex_pgb_P_Demandado_Procedimientos
//
this.ex_pgb_P_Demandado_Procedimientos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_pgb_P_Demandado_Procedimientos.BackColor = System.Drawing.Color.Transparent;
this.ex_pgb_P_Demandado_Procedimientos.Exferia_BarraProgreso_Total = 0;
this.ex_pgb_P_Demandado_Procedimientos.Location = new System.Drawing.Point(8, 362);
this.ex_pgb_P_Demandado_Procedimientos.Name = "ex_pgb_P_Demandado_Procedimientos";
this.ex_pgb_P_Demandado_Procedimientos.Size = new System.Drawing.Size(635, 21);
this.ex_pgb_P_Demandado_Procedimientos.TabIndex = 1026;
this.ex_pgb_P_Demandado_Procedimientos.TabStop = false;
//
// ex_cbo_P_Demandado_Procedimientos_OrdenListado
//
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Exferia_ComboBox_Bloqueable = true;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Exferia_ComboBox_BorderColor = System.Drawing.Color.Black;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Exferia_ComboBox_BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Exferia_ComboBox_Obligatorio = false;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.FormattingEnabled = true;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Location = new System.Drawing.Point(52, 7);
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Name = "ex_cbo_P_Demandado_Procedimientos_OrdenListado";
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.Size = new System.Drawing.Size(246, 21);
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.TabIndex = 1018;
this.ex_cbo_P_Demandado_Procedimientos_OrdenListado.SelectedIndexChanged += new System.EventHandler(this.ex_cbo_P_Demandado_Procedimientos_OrdenListado_SelectedIndexChanged);
//
// ex_btn_P_Demandado_Procedimientos_Ver
//
this.ex_btn_P_Demandado_Procedimientos_Ver.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Procedimientos_Ver.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Procedimientos_Ver.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Procedimientos_Ver.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_VER;
this.ex_btn_P_Demandado_Procedimientos_Ver.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Procedimientos_Ver.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Procedimientos_Ver.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Procedimientos_Ver.Exferia_Button_ToolTip = "Ver procedimiento";
this.ex_btn_P_Demandado_Procedimientos_Ver.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Procedimientos_Ver.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Procedimientos_Ver.Location = new System.Drawing.Point(8, 34);
this.ex_btn_P_Demandado_Procedimientos_Ver.Name = "ex_btn_P_Demandado_Procedimientos_Ver";
this.ex_btn_P_Demandado_Procedimientos_Ver.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Demandado_Procedimientos_Ver.TabIndex = 1021;
this.ex_btn_P_Demandado_Procedimientos_Ver.TabStop = false;
this.ex_btn_P_Demandado_Procedimientos_Ver.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Procedimientos_Ver.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Procedimientos_Ver.Click += new System.EventHandler(this.ex_btn_P_Demandado_Procedimientos_Ver_Click);
//
// ex_btn_P_Demandado_Procedimientos_OrdenListado
//
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ORDEN_ASC;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Exferia_Button_ToolTip = "Cambiar Orden del Listado";
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Location = new System.Drawing.Point(303, 7);
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Name = "ex_btn_P_Demandado_Procedimientos_OrdenListado";
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.TabIndex = 1025;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.TabStop = false;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Tag = "1";
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Procedimientos_OrdenListado.Click += new System.EventHandler(this.ex_btn_P_Demandado_Procedimiento_OrdenListado_Click);
//
// ex_btn_P_Demandado_Procedimientos_Filtros
//
this.ex_btn_P_Demandado_Procedimientos_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Demandado_Procedimientos_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_FILTROS;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Exferia_Button_ToolTip = "Mostrar/Filtrar";
this.ex_btn_P_Demandado_Procedimientos_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Demandado_Procedimientos_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Location = new System.Drawing.Point(39, 34);
this.ex_btn_P_Demandado_Procedimientos_Filtros.Name = "ex_btn_P_Demandado_Procedimientos_Filtros";
this.ex_btn_P_Demandado_Procedimientos_Filtros.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Demandado_Procedimientos_Filtros.TabIndex = 1023;
this.ex_btn_P_Demandado_Procedimientos_Filtros.TabStop = false;
this.ex_btn_P_Demandado_Procedimientos_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Demandado_Procedimientos_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_P_Demandado_Procedimientos_Filtros.Click += new System.EventHandler(this.ex_btn_P_Demandado_Procedimientos_Filtros_Click);
//
// ex_dgv_P_Demandado_Procedimientos
//
this.ex_dgv_P_Demandado_Procedimientos.AllowDrop = true;
this.ex_dgv_P_Demandado_Procedimientos.AllowUserToAddRows = false;
this.ex_dgv_P_Demandado_Procedimientos.AllowUserToDeleteRows = false;
this.ex_dgv_P_Demandado_Procedimientos.AllowUserToOrderColumns = true;
this.ex_dgv_P_Demandado_Procedimientos.AllowUserToResizeRows = false;
this.ex_dgv_P_Demandado_Procedimientos.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_P_Demandado_Procedimientos.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_P_Demandado_Procedimientos.ColumnHeadersHeight = 17;
this.ex_dgv_P_Demandado_Procedimientos.EnableHeadersVisualStyles = false;
this.ex_dgv_P_Demandado_Procedimientos.Location = new System.Drawing.Point(8, 65);
this.ex_dgv_P_Demandado_Procedimientos.Name = "ex_dgv_P_Demandado_Procedimientos";
this.ex_dgv_P_Demandado_Procedimientos.ReadOnly = true;
this.ex_dgv_P_Demandado_Procedimientos.RowHeadersVisible = false;
this.ex_dgv_P_Demandado_Procedimientos.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_P_Demandado_Procedimientos.Size = new System.Drawing.Size(635, 291);
this.ex_dgv_P_Demandado_Procedimientos.TabIndex = 1022;
this.ex_dgv_P_Demandado_Procedimientos.TabStop = false;
this.ex_dgv_P_Demandado_Procedimientos.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ex_dgv_P_Demandado_Procedimientos_CellDoubleClick);
this.ex_dgv_P_Demandado_Procedimientos.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.ex_dgv_P_Demandado_Procedimientos_CellFormatting);
this.ex_dgv_P_Demandado_Procedimientos.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.ex_dgv_P_Demandado_Procedimiento_ColumnHeaderMouseClick);
//
// exferia_Label3
//
this.exferia_Label3.AutoSize = true;
this.exferia_Label3.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label3.Location = new System.Drawing.Point(10, 12);
this.exferia_Label3.Name = "exferia_Label3";
this.exferia_Label3.Size = new System.Drawing.Size(36, 13);
this.exferia_Label3.TabIndex = 1024;
this.exferia_Label3.Text = "Orden";
//
// tbp_Observaciones
//
this.tbp_Observaciones.Controls.Add(this.ex_txt_P_Demandado_Observaciones);
this.tbp_Observaciones.Location = new System.Drawing.Point(4, 22);
this.tbp_Observaciones.Name = "tbp_Observaciones";
this.tbp_Observaciones.Padding = new System.Windows.Forms.Padding(3);
this.tbp_Observaciones.Size = new System.Drawing.Size(646, 387);
this.tbp_Observaciones.TabIndex = 1;
this.tbp_Observaciones.Text = "Observaciones";
this.tbp_Observaciones.UseVisualStyleBackColor = true;
//
// P_Demandado
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(797, 670);
this.Controls.Add(this.exferia_TabControl1);
this.Controls.Add(this.panel1);
this.Controls.Add(this.ex_btn_P_Demandado_BuscarCodigoSiguiente);
this.Controls.Add(this.ex_Paginador);
this.Controls.Add(this.ex_btn_P_Demandado_Borrar);
this.Controls.Add(this.ex_btn_P_Demandado_Grabar);
this.Controls.Add(this.ex_txt_P_Demandado_Nombre);
this.Controls.Add(this.ex_lbl_P_Demandado_Nombre);
this.Controls.Add(this.ex_txt_P_Demandado_Codigo);
this.Controls.Add(this.ex_lbl_P_Demandado_Codigo);
this.Name = "P_Demandado";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.P_Demandado_FormClosed);
this.Load += new System.EventHandler(this.P_Demandado_Load);
this.Shown += new System.EventHandler(this.P_Demandado_Shown);
this.Controls.SetChildIndex(this.ex_lbl_P_Demandado_Codigo, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Demandado_Codigo, 0);
this.Controls.SetChildIndex(this.ex_lbl_P_Demandado_Nombre, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Demandado_Nombre, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Demandado_Grabar, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Demandado_Borrar, 0);
this.Controls.SetChildIndex(this.ex_Paginador, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Demandado_BuscarCodigoSiguiente, 0);
this.Controls.SetChildIndex(this.panel1, 0);
this.Controls.SetChildIndex(this.exferia_TabControl1, 0);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.exferia_TabControl1.ResumeLayout(false);
this.tbp_Expedientes.ResumeLayout(false);
this.tbp_Expedientes.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Demandado_Expedientes)).EndInit();
this.tbp_Citaciones.ResumeLayout(false);
this.tbp_Citaciones.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Demandado_Citaciones)).EndInit();
this.tbp_Procedimientos.ResumeLayout(false);
this.tbp_Procedimientos.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Demandado_Procedimientos)).EndInit();
this.tbp_Observaciones.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Exferia_Controles.Exferia_Label ex_lbl_P_Demandado_Codigo;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Demandado_Codigo;
private Exferia_Controles.Exferia_Label ex_lbl_P_Demandado_Nombre;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Demandado_Nombre;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Grabar;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Borrar;
private Exferia_Controles.Exferia_Paginador ex_Paginador;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_BuscarCodigoSiguiente;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Demandado_Observaciones;
private System.Windows.Forms.Panel panel1;
private Exferia_Controles.Exferia_Label_SinColor ex_lbl_P_Demandado_CIF;
private Exferia_Controles.Exferia_RadioButton ex_rdb_P_Demandado_CifTipo_Espanol;
private Exferia_Controles.Exferia_RadioButton ex_rdb_P_Demandado_CifTipo_Otro;
private Exferia_Controles.Exferia_TextBox_CIFNIF ex_usc_P_Demandado_CIF;
private Exferia_Controles.Exferia_TabControl exferia_TabControl1;
private System.Windows.Forms.TabPage tbp_Expedientes;
private Exferia_Controles.Exferia_BarraProgreso ex_pgb_P_Demandado_Expedientes;
private Exferia_Controles.Exferia_ComboBox ex_cbo_P_Demandado_Expedientes_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Expedientes_Ver;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Expedientes_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Expedientes_Filtros;
private Exferia_Controles.Exferia_DataGridView ex_dgv_P_Demandado_Expedientes;
private Exferia_Controles.Exferia_Label exferia_Label2;
private System.Windows.Forms.TabPage tbp_Citaciones;
private Exferia_Controles.Exferia_BarraProgreso ex_pgb_P_Demandado_Citaciones;
private Exferia_Controles.Exferia_ComboBox ex_cbo_P_Demandado_Citaciones_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Citaciones_Ver;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Citaciones_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Citaciones_Filtros;
private Exferia_Controles.Exferia_DataGridView ex_dgv_P_Demandado_Citaciones;
private Exferia_Controles.Exferia_Label exferia_Label5;
private System.Windows.Forms.TabPage tbp_Procedimientos;
private Exferia_Controles.Exferia_BarraProgreso ex_pgb_P_Demandado_Procedimientos;
private Exferia_Controles.Exferia_ComboBox ex_cbo_P_Demandado_Procedimientos_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Procedimientos_Ver;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Procedimientos_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Demandado_Procedimientos_Filtros;
private Exferia_Controles.Exferia_DataGridView ex_dgv_P_Demandado_Procedimientos;
private Exferia_Controles.Exferia_Label exferia_Label3;
private System.Windows.Forms.TabPage tbp_Observaciones;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,929 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class P_Expediente
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.ex_lbl_P_Expediente_Codigo = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Expediente_Codigo = new Exferia_Controles.Exferia_TextBox();
this.ex_lbl_P_Expediente_Descripcion = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Expediente_Descripcion = new Exferia_Controles.Exferia_TextBox();
this.ex_btn_P_Expediente_Grabar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_Paginador = new Exferia_Controles.Exferia_Paginador();
this.ex_btn_P_Expediente_BuscarCodigoSiguiente = new Exferia_Controles.Exferia_Button();
this.ex_txt_P_Expediente_Observaciones = new Exferia_Controles.Exferia_TextBox();
this.ex_usc_P_Expediente_FechaAlta = new Exferia_Controles.Exferia_FechaSeleccion();
this.ex_usc_P_Expediente_FechaBaja = new Exferia_Controles.Exferia_FechaSeleccion();
this.exferia_TabControl1 = new Exferia_Controles.Exferia_TabControl();
this.tbp_Actores = new System.Windows.Forms.TabPage();
this.ex_pgb_P_Expediente_Actores = new Exferia_Controles.Exferia_BarraProgreso();
this.ex_cbo_P_Expediente_Actores_OrdenListado = new Exferia_Controles.Exferia_ComboBox();
this.ex_btn_P_Expediente_Actores_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Actores_Ver = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Actores_Add = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Actores_OrdenListado = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Actores_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_dgv_P_Expediente_Actores = new Exferia_Controles.Exferia_DataGridView();
this.exferia_Label4 = new Exferia_Controles.Exferia_Label();
this.tbp_Procedimientos = new System.Windows.Forms.TabPage();
this.ex_pgb_P_Expediente_Procedimientos = new Exferia_Controles.Exferia_BarraProgreso();
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado = new Exferia_Controles.Exferia_ComboBox();
this.ex_btn_P_Expediente_Procedimientos_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Procedimientos_Ver = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Procedimientos_Add = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Procedimientos_OrdenListado = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Expediente_Procedimientos_Filtros = new Exferia_Controles.Exferia_Button();
this.ex_dgv_P_Expediente_Procedimientos = new Exferia_Controles.Exferia_DataGridView();
this.exferia_Label5 = new Exferia_Controles.Exferia_Label();
this.tbp_Observaciones = new System.Windows.Forms.TabPage();
this.ex_chk_P_Expediente_Colectivo = new Exferia_Controles.Exferia_CheckBox();
this.ex_rdb_P_Expediente_Demandante = new Exferia_Controles.Exferia_RadioButton();
this.ex_rdb_P_Expediente_Demandado = new Exferia_Controles.Exferia_RadioButton();
this.panel1 = new System.Windows.Forms.Panel();
this.ex_usc_F3_P_Expediente_Demandado = new Exferia_Controles.Exferia_F3();
this.ex_usc_F3_P_Expediente_Asesor = new Exferia_Controles.Exferia_F3();
this.exferia_TabControl1.SuspendLayout();
this.tbp_Actores.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Expediente_Actores)).BeginInit();
this.tbp_Procedimientos.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Expediente_Procedimientos)).BeginInit();
this.tbp_Observaciones.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// ex_lbl_P_Expediente_Codigo
//
this.ex_lbl_P_Expediente_Codigo.AutoSize = true;
this.ex_lbl_P_Expediente_Codigo.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Expediente_Codigo.Location = new System.Drawing.Point(31, 95);
this.ex_lbl_P_Expediente_Codigo.Name = "ex_lbl_P_Expediente_Codigo";
this.ex_lbl_P_Expediente_Codigo.Size = new System.Drawing.Size(40, 13);
this.ex_lbl_P_Expediente_Codigo.TabIndex = 39;
this.ex_lbl_P_Expediente_Codigo.Text = "Código";
//
// ex_txt_P_Expediente_Codigo
//
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_MaxLength = 20;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Expediente_Codigo.Location = new System.Drawing.Point(134, 90);
this.ex_txt_P_Expediente_Codigo.Name = "ex_txt_P_Expediente_Codigo";
this.ex_txt_P_Expediente_Codigo.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Expediente_Codigo.Size = new System.Drawing.Size(169, 20);
this.ex_txt_P_Expediente_Codigo.TabIndex = 5;
this.ex_txt_P_Expediente_Codigo.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_lbl_P_Expediente_Descripcion
//
this.ex_lbl_P_Expediente_Descripcion.AutoSize = true;
this.ex_lbl_P_Expediente_Descripcion.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Expediente_Descripcion.Location = new System.Drawing.Point(29, 118);
this.ex_lbl_P_Expediente_Descripcion.Name = "ex_lbl_P_Expediente_Descripcion";
this.ex_lbl_P_Expediente_Descripcion.Size = new System.Drawing.Size(63, 13);
this.ex_lbl_P_Expediente_Descripcion.TabIndex = 45;
this.ex_lbl_P_Expediente_Descripcion.Text = "Descripción";
//
// ex_txt_P_Expediente_Descripcion
//
this.ex_txt_P_Expediente_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_MaxLength = 100;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Expediente_Descripcion.Location = new System.Drawing.Point(134, 114);
this.ex_txt_P_Expediente_Descripcion.Name = "ex_txt_P_Expediente_Descripcion";
this.ex_txt_P_Expediente_Descripcion.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Expediente_Descripcion.Size = new System.Drawing.Size(601, 20);
this.ex_txt_P_Expediente_Descripcion.TabIndex = 10;
this.ex_txt_P_Expediente_Descripcion.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_btn_P_Expediente_Grabar
//
this.ex_btn_P_Expediente_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Expediente_Grabar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Grabar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR;
this.ex_btn_P_Expediente_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Grabar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Grabar.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Grabar.Exferia_Button_ToolTip = "Grabar (F2)";
this.ex_btn_P_Expediente_Grabar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Grabar.Location = new System.Drawing.Point(758, 44);
this.ex_btn_P_Expediente_Grabar.Name = "ex_btn_P_Expediente_Grabar";
this.ex_btn_P_Expediente_Grabar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Expediente_Grabar.TabIndex = 53;
this.ex_btn_P_Expediente_Grabar.TabStop = false;
this.ex_btn_P_Expediente_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Grabar.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Grabar.Click += new System.EventHandler(this.ex_btn_P_Expediente_Grabar_Click);
//
// ex_btn_P_Expediente_Borrar
//
this.ex_btn_P_Expediente_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Expediente_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_Expediente_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Borrar.Exferia_Button_ToolTip = "Borrar (F5)";
this.ex_btn_P_Expediente_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Borrar.Location = new System.Drawing.Point(758, 86);
this.ex_btn_P_Expediente_Borrar.Name = "ex_btn_P_Expediente_Borrar";
this.ex_btn_P_Expediente_Borrar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Expediente_Borrar.TabIndex = 54;
this.ex_btn_P_Expediente_Borrar.TabStop = false;
this.ex_btn_P_Expediente_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Borrar.Click += new System.EventHandler(this.ex_btn_P_Expediente_Borrar_Click);
//
// ex_Paginador
//
this.ex_Paginador.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ex_Paginador.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_Paginador.Location = new System.Drawing.Point(28, 619);
this.ex_Paginador.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.ex_Paginador.Name = "ex_Paginador";
this.ex_Paginador.PaginaActual = 1;
this.ex_Paginador.PaginasTotales = 1;
this.ex_Paginador.Size = new System.Drawing.Size(405, 39);
this.ex_Paginador.TabIndex = 56;
this.ex_Paginador.TabStop = false;
this.ex_Paginador.txt_ValorPaginaActual = 999999999;
this.ex_Paginador.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click);
this.ex_Paginador.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress);
//
// ex_btn_P_Expediente_BuscarCodigoSiguiente
//
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BUSCARCODIGO_P;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Exferia_Button_ToolTip = "";
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Location = new System.Drawing.Point(309, 90);
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Name = "ex_btn_P_Expediente_BuscarCodigoSiguiente";
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.TabIndex = 10;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.TabStop = false;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_BuscarCodigoSiguiente.Click += new System.EventHandler(this.ex_btn_P_Expediente_BuscarCodigoSiguiente_Click);
//
// ex_txt_P_Expediente_Observaciones
//
this.ex_txt_P_Expediente_Observaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_MaxLength = 32767;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Multiline = true;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Obligatorio = false;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Expediente_Observaciones.Location = new System.Drawing.Point(3, 3);
this.ex_txt_P_Expediente_Observaciones.Name = "ex_txt_P_Expediente_Observaciones";
this.ex_txt_P_Expediente_Observaciones.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Expediente_Observaciones.Size = new System.Drawing.Size(693, 339);
this.ex_txt_P_Expediente_Observaciones.TabIndex = 58;
this.ex_txt_P_Expediente_Observaciones.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_usc_P_Expediente_FechaAlta
//
this.ex_usc_P_Expediente_FechaAlta.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_P_Expediente_FechaAlta.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_P_Expediente_FechaAlta.Exferia_FechaSeleccion_Descripcion = "Fecha alta";
this.ex_usc_P_Expediente_FechaAlta.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_P_Expediente_FechaAlta.Exferia_FechaSeleccion_Obligatorio = true;
this.ex_usc_P_Expediente_FechaAlta.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_P_Expediente_FechaAlta.Location = new System.Drawing.Point(27, 136);
this.ex_usc_P_Expediente_FechaAlta.Name = "ex_usc_P_Expediente_FechaAlta";
this.ex_usc_P_Expediente_FechaAlta.Size = new System.Drawing.Size(218, 22);
this.ex_usc_P_Expediente_FechaAlta.TabIndex = 15;
this.ex_usc_P_Expediente_FechaAlta.Exferia_FechaSeleccion_TextBox_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged);
//
// ex_usc_P_Expediente_FechaBaja
//
this.ex_usc_P_Expediente_FechaBaja.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_P_Expediente_FechaBaja.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_P_Expediente_FechaBaja.Exferia_FechaSeleccion_Descripcion = "Fecha baja";
this.ex_usc_P_Expediente_FechaBaja.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_P_Expediente_FechaBaja.Exferia_FechaSeleccion_Obligatorio = false;
this.ex_usc_P_Expediente_FechaBaja.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_P_Expediente_FechaBaja.Location = new System.Drawing.Point(27, 160);
this.ex_usc_P_Expediente_FechaBaja.Name = "ex_usc_P_Expediente_FechaBaja";
this.ex_usc_P_Expediente_FechaBaja.Size = new System.Drawing.Size(218, 22);
this.ex_usc_P_Expediente_FechaBaja.TabIndex = 30;
this.ex_usc_P_Expediente_FechaBaja.Exferia_FechaSeleccion_TextBox_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged);
//
// exferia_TabControl1
//
this.exferia_TabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.exferia_TabControl1.Controls.Add(this.tbp_Actores);
this.exferia_TabControl1.Controls.Add(this.tbp_Procedimientos);
this.exferia_TabControl1.Controls.Add(this.tbp_Observaciones);
this.exferia_TabControl1.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black;
this.exferia_TabControl1.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black;
this.exferia_TabControl1.Location = new System.Drawing.Point(28, 239);
this.exferia_TabControl1.Name = "exferia_TabControl1";
this.exferia_TabControl1.SelectedIndex = 0;
this.exferia_TabControl1.Size = new System.Drawing.Size(707, 374);
this.exferia_TabControl1.TabIndex = 63;
//
// tbp_Actores
//
this.tbp_Actores.Controls.Add(this.ex_pgb_P_Expediente_Actores);
this.tbp_Actores.Controls.Add(this.ex_cbo_P_Expediente_Actores_OrdenListado);
this.tbp_Actores.Controls.Add(this.ex_btn_P_Expediente_Actores_Borrar);
this.tbp_Actores.Controls.Add(this.ex_btn_P_Expediente_Actores_Ver);
this.tbp_Actores.Controls.Add(this.ex_btn_P_Expediente_Actores_Add);
this.tbp_Actores.Controls.Add(this.ex_btn_P_Expediente_Actores_OrdenListado);
this.tbp_Actores.Controls.Add(this.ex_btn_P_Expediente_Actores_Filtros);
this.tbp_Actores.Controls.Add(this.ex_dgv_P_Expediente_Actores);
this.tbp_Actores.Controls.Add(this.exferia_Label4);
this.tbp_Actores.Location = new System.Drawing.Point(4, 22);
this.tbp_Actores.Name = "tbp_Actores";
this.tbp_Actores.Size = new System.Drawing.Size(699, 348);
this.tbp_Actores.TabIndex = 3;
this.tbp_Actores.Text = "Actores";
this.tbp_Actores.UseVisualStyleBackColor = true;
//
// ex_pgb_P_Expediente_Actores
//
this.ex_pgb_P_Expediente_Actores.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_pgb_P_Expediente_Actores.BackColor = System.Drawing.Color.Transparent;
this.ex_pgb_P_Expediente_Actores.Exferia_BarraProgreso_Total = 0;
this.ex_pgb_P_Expediente_Actores.Location = new System.Drawing.Point(8, 324);
this.ex_pgb_P_Expediente_Actores.Name = "ex_pgb_P_Expediente_Actores";
this.ex_pgb_P_Expediente_Actores.Size = new System.Drawing.Size(677, 21);
this.ex_pgb_P_Expediente_Actores.TabIndex = 1017;
this.ex_pgb_P_Expediente_Actores.TabStop = false;
//
// ex_cbo_P_Expediente_Actores_OrdenListado
//
this.ex_cbo_P_Expediente_Actores_OrdenListado.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_cbo_P_Expediente_Actores_OrdenListado.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ex_cbo_P_Expediente_Actores_OrdenListado.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ex_cbo_P_Expediente_Actores_OrdenListado.Exferia_ComboBox_Bloqueable = true;
this.ex_cbo_P_Expediente_Actores_OrdenListado.Exferia_ComboBox_BorderColor = System.Drawing.Color.Black;
this.ex_cbo_P_Expediente_Actores_OrdenListado.Exferia_ComboBox_BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
this.ex_cbo_P_Expediente_Actores_OrdenListado.Exferia_ComboBox_Obligatorio = false;
this.ex_cbo_P_Expediente_Actores_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_cbo_P_Expediente_Actores_OrdenListado.FormattingEnabled = true;
this.ex_cbo_P_Expediente_Actores_OrdenListado.Location = new System.Drawing.Point(52, 7);
this.ex_cbo_P_Expediente_Actores_OrdenListado.Name = "ex_cbo_P_Expediente_Actores_OrdenListado";
this.ex_cbo_P_Expediente_Actores_OrdenListado.Size = new System.Drawing.Size(246, 21);
this.ex_cbo_P_Expediente_Actores_OrdenListado.TabIndex = 1009;
this.ex_cbo_P_Expediente_Actores_OrdenListado.SelectedIndexChanged += new System.EventHandler(this.ex_cbo_P_Expediente_Actores_OrdenListado_SelectedIndexChanged);
//
// ex_btn_P_Expediente_Actores_Borrar
//
this.ex_btn_P_Expediente_Actores_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Actores_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Actores_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Actores_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_Expediente_Actores_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Actores_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Actores_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Actores_Borrar.Exferia_Button_ToolTip = "Borrar actor";
this.ex_btn_P_Expediente_Actores_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Actores_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Actores_Borrar.Location = new System.Drawing.Point(101, 34);
this.ex_btn_P_Expediente_Actores_Borrar.Name = "ex_btn_P_Expediente_Actores_Borrar";
this.ex_btn_P_Expediente_Actores_Borrar.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Actores_Borrar.TabIndex = 1010;
this.ex_btn_P_Expediente_Actores_Borrar.TabStop = false;
this.ex_btn_P_Expediente_Actores_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Actores_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Actores_Borrar.Click += new System.EventHandler(this.ex_btn_P_Expediente_Actores_Borrar_Click);
//
// ex_btn_P_Expediente_Actores_Ver
//
this.ex_btn_P_Expediente_Actores_Ver.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Actores_Ver.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Actores_Ver.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Actores_Ver.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_VER;
this.ex_btn_P_Expediente_Actores_Ver.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Actores_Ver.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Actores_Ver.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Actores_Ver.Exferia_Button_ToolTip = "Ver actor";
this.ex_btn_P_Expediente_Actores_Ver.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Actores_Ver.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Actores_Ver.Location = new System.Drawing.Point(39, 34);
this.ex_btn_P_Expediente_Actores_Ver.Name = "ex_btn_P_Expediente_Actores_Ver";
this.ex_btn_P_Expediente_Actores_Ver.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Actores_Ver.TabIndex = 1012;
this.ex_btn_P_Expediente_Actores_Ver.TabStop = false;
this.ex_btn_P_Expediente_Actores_Ver.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Actores_Ver.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Actores_Ver.Click += new System.EventHandler(this.ex_btn_P_Expediente_Actores_Ver_Click);
//
// ex_btn_P_Expediente_Actores_Add
//
this.ex_btn_P_Expediente_Actores_Add.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Actores_Add.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Actores_Add.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Actores_Add.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ADD;
this.ex_btn_P_Expediente_Actores_Add.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Actores_Add.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Actores_Add.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Actores_Add.Exferia_Button_ToolTip = "Seleccionar actor nuevo";
this.ex_btn_P_Expediente_Actores_Add.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Actores_Add.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Actores_Add.Location = new System.Drawing.Point(8, 34);
this.ex_btn_P_Expediente_Actores_Add.Name = "ex_btn_P_Expediente_Actores_Add";
this.ex_btn_P_Expediente_Actores_Add.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Actores_Add.TabIndex = 1011;
this.ex_btn_P_Expediente_Actores_Add.TabStop = false;
this.ex_btn_P_Expediente_Actores_Add.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Actores_Add.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Actores_Add.Click += new System.EventHandler(this.ex_btn_P_Expediente_Actores_Add_Click);
//
// ex_btn_P_Expediente_Actores_OrdenListado
//
this.ex_btn_P_Expediente_Actores_OrdenListado.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Actores_OrdenListado.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Actores_OrdenListado.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Actores_OrdenListado.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ORDEN_ASC;
this.ex_btn_P_Expediente_Actores_OrdenListado.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Actores_OrdenListado.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Actores_OrdenListado.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Actores_OrdenListado.Exferia_Button_ToolTip = "Cambiar Orden del Listado";
this.ex_btn_P_Expediente_Actores_OrdenListado.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Actores_OrdenListado.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Actores_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_btn_P_Expediente_Actores_OrdenListado.Location = new System.Drawing.Point(303, 7);
this.ex_btn_P_Expediente_Actores_OrdenListado.Name = "ex_btn_P_Expediente_Actores_OrdenListado";
this.ex_btn_P_Expediente_Actores_OrdenListado.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Expediente_Actores_OrdenListado.TabIndex = 1016;
this.ex_btn_P_Expediente_Actores_OrdenListado.TabStop = false;
this.ex_btn_P_Expediente_Actores_OrdenListado.Tag = "1";
this.ex_btn_P_Expediente_Actores_OrdenListado.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ex_btn_P_Expediente_Actores_OrdenListado.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Actores_OrdenListado.Click += new System.EventHandler(this.ex_btn_P_Expediente_Actores_OrdenListado_Click);
//
// ex_btn_P_Expediente_Actores_Filtros
//
this.ex_btn_P_Expediente_Actores_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Actores_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Actores_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Actores_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_FILTROS;
this.ex_btn_P_Expediente_Actores_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Actores_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Actores_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Actores_Filtros.Exferia_Button_ToolTip = "Mostrar/Filtrar";
this.ex_btn_P_Expediente_Actores_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Actores_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Actores_Filtros.Location = new System.Drawing.Point(70, 34);
this.ex_btn_P_Expediente_Actores_Filtros.Name = "ex_btn_P_Expediente_Actores_Filtros";
this.ex_btn_P_Expediente_Actores_Filtros.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Actores_Filtros.TabIndex = 1014;
this.ex_btn_P_Expediente_Actores_Filtros.TabStop = false;
this.ex_btn_P_Expediente_Actores_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Actores_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Actores_Filtros.Click += new System.EventHandler(this.ex_btn_P_Expediente_Actores_Filtros_Click);
//
// ex_dgv_P_Expediente_Actores
//
this.ex_dgv_P_Expediente_Actores.AllowDrop = true;
this.ex_dgv_P_Expediente_Actores.AllowUserToAddRows = false;
this.ex_dgv_P_Expediente_Actores.AllowUserToDeleteRows = false;
this.ex_dgv_P_Expediente_Actores.AllowUserToOrderColumns = true;
this.ex_dgv_P_Expediente_Actores.AllowUserToResizeRows = false;
this.ex_dgv_P_Expediente_Actores.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_P_Expediente_Actores.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_P_Expediente_Actores.ColumnHeadersHeight = 17;
this.ex_dgv_P_Expediente_Actores.EnableHeadersVisualStyles = false;
this.ex_dgv_P_Expediente_Actores.Location = new System.Drawing.Point(8, 65);
this.ex_dgv_P_Expediente_Actores.Name = "ex_dgv_P_Expediente_Actores";
this.ex_dgv_P_Expediente_Actores.ReadOnly = true;
this.ex_dgv_P_Expediente_Actores.RowHeadersVisible = false;
this.ex_dgv_P_Expediente_Actores.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_P_Expediente_Actores.Size = new System.Drawing.Size(677, 253);
this.ex_dgv_P_Expediente_Actores.TabIndex = 1013;
this.ex_dgv_P_Expediente_Actores.TabStop = false;
this.ex_dgv_P_Expediente_Actores.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ex_dgv_P_Expediente_Actores_CellDoubleClick);
this.ex_dgv_P_Expediente_Actores.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.ex_dgv_P_Expediente_Actores_CellFormatting);
this.ex_dgv_P_Expediente_Actores.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.ex_dgv_P_Expediente_Actores_ColumnHeaderMouseClick);
//
// exferia_Label4
//
this.exferia_Label4.AutoSize = true;
this.exferia_Label4.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label4.Location = new System.Drawing.Point(10, 12);
this.exferia_Label4.Name = "exferia_Label4";
this.exferia_Label4.Size = new System.Drawing.Size(36, 13);
this.exferia_Label4.TabIndex = 1015;
this.exferia_Label4.Text = "Orden";
//
// tbp_Procedimientos
//
this.tbp_Procedimientos.Controls.Add(this.ex_pgb_P_Expediente_Procedimientos);
this.tbp_Procedimientos.Controls.Add(this.ex_cbo_P_Expediente_Procedimientos_OrdenListado);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Expediente_Procedimientos_Borrar);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Expediente_Procedimientos_Ver);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Expediente_Procedimientos_Add);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Expediente_Procedimientos_OrdenListado);
this.tbp_Procedimientos.Controls.Add(this.ex_btn_P_Expediente_Procedimientos_Filtros);
this.tbp_Procedimientos.Controls.Add(this.ex_dgv_P_Expediente_Procedimientos);
this.tbp_Procedimientos.Controls.Add(this.exferia_Label5);
this.tbp_Procedimientos.Location = new System.Drawing.Point(4, 22);
this.tbp_Procedimientos.Name = "tbp_Procedimientos";
this.tbp_Procedimientos.Size = new System.Drawing.Size(699, 348);
this.tbp_Procedimientos.TabIndex = 4;
this.tbp_Procedimientos.Text = "Procedimientos";
this.tbp_Procedimientos.UseVisualStyleBackColor = true;
//
// ex_pgb_P_Expediente_Procedimientos
//
this.ex_pgb_P_Expediente_Procedimientos.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_pgb_P_Expediente_Procedimientos.BackColor = System.Drawing.Color.Transparent;
this.ex_pgb_P_Expediente_Procedimientos.Exferia_BarraProgreso_Total = 0;
this.ex_pgb_P_Expediente_Procedimientos.Location = new System.Drawing.Point(8, 324);
this.ex_pgb_P_Expediente_Procedimientos.Name = "ex_pgb_P_Expediente_Procedimientos";
this.ex_pgb_P_Expediente_Procedimientos.Size = new System.Drawing.Size(677, 21);
this.ex_pgb_P_Expediente_Procedimientos.TabIndex = 1026;
this.ex_pgb_P_Expediente_Procedimientos.TabStop = false;
//
// ex_cbo_P_Expediente_Procedimientos_OrdenListado
//
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Exferia_ComboBox_Bloqueable = true;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Exferia_ComboBox_BorderColor = System.Drawing.Color.Black;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Exferia_ComboBox_BorderStyle = System.Windows.Forms.ButtonBorderStyle.Solid;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Exferia_ComboBox_Obligatorio = false;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.FormattingEnabled = true;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Location = new System.Drawing.Point(52, 7);
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Name = "ex_cbo_P_Expediente_Procedimientos_OrdenListado";
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.Size = new System.Drawing.Size(246, 21);
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.TabIndex = 1018;
this.ex_cbo_P_Expediente_Procedimientos_OrdenListado.SelectedIndexChanged += new System.EventHandler(this.ex_cbo_P_Expediente_Procedimientos_OrdenListado_SelectedIndexChanged);
//
// ex_btn_P_Expediente_Procedimientos_Borrar
//
this.ex_btn_P_Expediente_Procedimientos_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Procedimientos_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Exferia_Button_ToolTip = "Borrar procedimiento";
this.ex_btn_P_Expediente_Procedimientos_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Procedimientos_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Location = new System.Drawing.Point(101, 34);
this.ex_btn_P_Expediente_Procedimientos_Borrar.Name = "ex_btn_P_Expediente_Procedimientos_Borrar";
this.ex_btn_P_Expediente_Procedimientos_Borrar.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Procedimientos_Borrar.TabIndex = 1019;
this.ex_btn_P_Expediente_Procedimientos_Borrar.TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Procedimientos_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Procedimientos_Borrar.Click += new System.EventHandler(this.ex_btn_P_Expediente_Procedimientos_Borrar_Click);
//
// ex_btn_P_Expediente_Procedimientos_Ver
//
this.ex_btn_P_Expediente_Procedimientos_Ver.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Procedimientos_Ver.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Procedimientos_Ver.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Procedimientos_Ver.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_VER;
this.ex_btn_P_Expediente_Procedimientos_Ver.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Procedimientos_Ver.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Procedimientos_Ver.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Ver.Exferia_Button_ToolTip = "Ver procedimiento";
this.ex_btn_P_Expediente_Procedimientos_Ver.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Procedimientos_Ver.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Procedimientos_Ver.Location = new System.Drawing.Point(39, 34);
this.ex_btn_P_Expediente_Procedimientos_Ver.Name = "ex_btn_P_Expediente_Procedimientos_Ver";
this.ex_btn_P_Expediente_Procedimientos_Ver.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Procedimientos_Ver.TabIndex = 1021;
this.ex_btn_P_Expediente_Procedimientos_Ver.TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Ver.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Procedimientos_Ver.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Procedimientos_Ver.Click += new System.EventHandler(this.ex_btn_P_Expediente_Procedimientos_Ver_Click);
//
// ex_btn_P_Expediente_Procedimientos_Add
//
this.ex_btn_P_Expediente_Procedimientos_Add.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Procedimientos_Add.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Procedimientos_Add.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Procedimientos_Add.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ADD;
this.ex_btn_P_Expediente_Procedimientos_Add.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Procedimientos_Add.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Procedimientos_Add.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Add.Exferia_Button_ToolTip = "Añadir procedimiento nuevo";
this.ex_btn_P_Expediente_Procedimientos_Add.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Procedimientos_Add.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Procedimientos_Add.Location = new System.Drawing.Point(8, 34);
this.ex_btn_P_Expediente_Procedimientos_Add.Name = "ex_btn_P_Expediente_Procedimientos_Add";
this.ex_btn_P_Expediente_Procedimientos_Add.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Procedimientos_Add.TabIndex = 1020;
this.ex_btn_P_Expediente_Procedimientos_Add.TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Add.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Procedimientos_Add.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Procedimientos_Add.Click += new System.EventHandler(this.ex_btn_P_Expediente_Procedimientos_Add_Click);
//
// ex_btn_P_Expediente_Procedimientos_OrdenListado
//
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_ORDEN_ASC;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Exferia_Button_ToolTip = "Cambiar Orden del Listado";
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Location = new System.Drawing.Point(303, 7);
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Name = "ex_btn_P_Expediente_Procedimientos_OrdenListado";
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.TabIndex = 1025;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Tag = "1";
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Procedimientos_OrdenListado.Click += new System.EventHandler(this.ex_btn_P_Expediente_Procedimientos_OrdenListado_Click);
//
// ex_btn_P_Expediente_Procedimientos_Filtros
//
this.ex_btn_P_Expediente_Procedimientos_Filtros.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Expediente_Procedimientos_Filtros.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_FILTROS;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Exferia_Button_TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Exferia_Button_ToolTip = "Mostrar/Filtrar";
this.ex_btn_P_Expediente_Procedimientos_Filtros.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Expediente_Procedimientos_Filtros.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Location = new System.Drawing.Point(70, 34);
this.ex_btn_P_Expediente_Procedimientos_Filtros.Name = "ex_btn_P_Expediente_Procedimientos_Filtros";
this.ex_btn_P_Expediente_Procedimientos_Filtros.Size = new System.Drawing.Size(25, 25);
this.ex_btn_P_Expediente_Procedimientos_Filtros.TabIndex = 1023;
this.ex_btn_P_Expediente_Procedimientos_Filtros.TabStop = false;
this.ex_btn_P_Expediente_Procedimientos_Filtros.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Expediente_Procedimientos_Filtros.UseVisualStyleBackColor = false;
this.ex_btn_P_Expediente_Procedimientos_Filtros.Click += new System.EventHandler(this.ex_btn_P_Expediente_Procedimientos_Filtros_Click);
//
// ex_dgv_P_Expediente_Procedimientos
//
this.ex_dgv_P_Expediente_Procedimientos.AllowDrop = true;
this.ex_dgv_P_Expediente_Procedimientos.AllowUserToAddRows = false;
this.ex_dgv_P_Expediente_Procedimientos.AllowUserToDeleteRows = false;
this.ex_dgv_P_Expediente_Procedimientos.AllowUserToOrderColumns = true;
this.ex_dgv_P_Expediente_Procedimientos.AllowUserToResizeRows = false;
this.ex_dgv_P_Expediente_Procedimientos.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_dgv_P_Expediente_Procedimientos.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
this.ex_dgv_P_Expediente_Procedimientos.ColumnHeadersHeight = 17;
this.ex_dgv_P_Expediente_Procedimientos.EnableHeadersVisualStyles = false;
this.ex_dgv_P_Expediente_Procedimientos.Location = new System.Drawing.Point(8, 65);
this.ex_dgv_P_Expediente_Procedimientos.Name = "ex_dgv_P_Expediente_Procedimientos";
this.ex_dgv_P_Expediente_Procedimientos.ReadOnly = true;
this.ex_dgv_P_Expediente_Procedimientos.RowHeadersVisible = false;
this.ex_dgv_P_Expediente_Procedimientos.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.ex_dgv_P_Expediente_Procedimientos.Size = new System.Drawing.Size(677, 253);
this.ex_dgv_P_Expediente_Procedimientos.TabIndex = 1022;
this.ex_dgv_P_Expediente_Procedimientos.TabStop = false;
this.ex_dgv_P_Expediente_Procedimientos.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.ex_dgv_P_Expediente_Procedimientos_CellDoubleClick);
this.ex_dgv_P_Expediente_Procedimientos.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.ex_dgv_P_Expediente_Procedimientos_ColumnHeaderMouseClick);
//
// exferia_Label5
//
this.exferia_Label5.AutoSize = true;
this.exferia_Label5.Font = new System.Drawing.Font("Corbel", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.exferia_Label5.Location = new System.Drawing.Point(10, 12);
this.exferia_Label5.Name = "exferia_Label5";
this.exferia_Label5.Size = new System.Drawing.Size(36, 13);
this.exferia_Label5.TabIndex = 1024;
this.exferia_Label5.Text = "Orden";
//
// tbp_Observaciones
//
this.tbp_Observaciones.Controls.Add(this.ex_txt_P_Expediente_Observaciones);
this.tbp_Observaciones.Location = new System.Drawing.Point(4, 22);
this.tbp_Observaciones.Name = "tbp_Observaciones";
this.tbp_Observaciones.Padding = new System.Windows.Forms.Padding(3);
this.tbp_Observaciones.Size = new System.Drawing.Size(699, 348);
this.tbp_Observaciones.TabIndex = 1;
this.tbp_Observaciones.Text = "Observaciones";
this.tbp_Observaciones.UseVisualStyleBackColor = true;
//
// ex_chk_P_Expediente_Colectivo
//
this.ex_chk_P_Expediente_Colectivo.AutoSize = true;
this.ex_chk_P_Expediente_Colectivo.BackColor = System.Drawing.Color.Transparent;
this.ex_chk_P_Expediente_Colectivo.Exferia_CheckBox_Bloqueable = true;
this.ex_chk_P_Expediente_Colectivo.Exferia_CheckBox_Obligatorio = false;
this.ex_chk_P_Expediente_Colectivo.Exferia_CheckBox_ToolTip = "";
this.ex_chk_P_Expediente_Colectivo.ForeColor = System.Drawing.SystemColors.ControlText;
this.ex_chk_P_Expediente_Colectivo.Location = new System.Drawing.Point(358, 137);
this.ex_chk_P_Expediente_Colectivo.Name = "ex_chk_P_Expediente_Colectivo";
this.ex_chk_P_Expediente_Colectivo.Size = new System.Drawing.Size(70, 17);
this.ex_chk_P_Expediente_Colectivo.TabIndex = 27;
this.ex_chk_P_Expediente_Colectivo.Text = "Colectivo";
this.ex_chk_P_Expediente_Colectivo.UseVisualStyleBackColor = true;
this.ex_chk_P_Expediente_Colectivo.CheckedChanged += new System.EventHandler(this.Controlar_Modificaciones_CheckBox_CheckedChanged);
//
// ex_rdb_P_Expediente_Demandante
//
this.ex_rdb_P_Expediente_Demandante.AutoSize = true;
this.ex_rdb_P_Expediente_Demandante.BackColor = System.Drawing.Color.Transparent;
this.ex_rdb_P_Expediente_Demandante.Checked = true;
this.ex_rdb_P_Expediente_Demandante.Exferia_RadioButton_Bloqueable = true;
this.ex_rdb_P_Expediente_Demandante.Exferia_RadioButton_Obligatorio = false;
this.ex_rdb_P_Expediente_Demandante.Exferia_RadioButton_ReadOnly = false;
this.ex_rdb_P_Expediente_Demandante.Location = new System.Drawing.Point(2, 2);
this.ex_rdb_P_Expediente_Demandante.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ex_rdb_P_Expediente_Demandante.Name = "ex_rdb_P_Expediente_Demandante";
this.ex_rdb_P_Expediente_Demandante.Size = new System.Drawing.Size(86, 17);
this.ex_rdb_P_Expediente_Demandante.TabIndex = 20;
this.ex_rdb_P_Expediente_Demandante.TabStop = true;
this.ex_rdb_P_Expediente_Demandante.Text = "Demandante";
this.ex_rdb_P_Expediente_Demandante.UseVisualStyleBackColor = true;
this.ex_rdb_P_Expediente_Demandante.CheckedChanged += new System.EventHandler(this.Controlar_Modificaciones_RadioButton_CheckedChanged);
//
// ex_rdb_P_Expediente_Demandado
//
this.ex_rdb_P_Expediente_Demandado.AutoSize = true;
this.ex_rdb_P_Expediente_Demandado.BackColor = System.Drawing.Color.Transparent;
this.ex_rdb_P_Expediente_Demandado.Exferia_RadioButton_Bloqueable = true;
this.ex_rdb_P_Expediente_Demandado.Exferia_RadioButton_Obligatorio = false;
this.ex_rdb_P_Expediente_Demandado.Exferia_RadioButton_ReadOnly = false;
this.ex_rdb_P_Expediente_Demandado.Location = new System.Drawing.Point(2, 23);
this.ex_rdb_P_Expediente_Demandado.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.ex_rdb_P_Expediente_Demandado.Name = "ex_rdb_P_Expediente_Demandado";
this.ex_rdb_P_Expediente_Demandado.Size = new System.Drawing.Size(83, 17);
this.ex_rdb_P_Expediente_Demandado.TabIndex = 25;
this.ex_rdb_P_Expediente_Demandado.TabStop = true;
this.ex_rdb_P_Expediente_Demandado.Text = "Demandado";
this.ex_rdb_P_Expediente_Demandado.UseVisualStyleBackColor = true;
this.ex_rdb_P_Expediente_Demandado.CheckedChanged += new System.EventHandler(this.Controlar_Modificaciones_RadioButton_CheckedChanged);
//
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.Controls.Add(this.ex_rdb_P_Expediente_Demandante);
this.panel1.Controls.Add(this.ex_rdb_P_Expediente_Demandado);
this.panel1.Location = new System.Drawing.Point(256, 137);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(96, 45);
this.panel1.TabIndex = 19;
//
// ex_usc_F3_P_Expediente_Demandado
//
this.ex_usc_F3_P_Expediente_Demandado.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_usc_F3_P_Expediente_Demandado.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Ancho_Codigo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_CODIGO.Normal;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Ancho_Titulo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_TITULO.Normal;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Bloquear_F3_Descripcion = false;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Codigo = "";
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_DatosAuxiliares_1 = null;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_DatosAuxiliares_2 = null;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_DatosAuxiliares_3 = null;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Descripcion = "";
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_FechaBorrado = null;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Id = ((long)(-1));
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_IdEjercicio_Baja = null;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Objeto_ParaEnviarAMantenimiento = null;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_PRINCIPAL_Obligatorio = true;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = "";
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_PRINCIPAL_PermitirAdd = true;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_RELACIONADOS_Objetos_Hijos = null;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_RELACIONAL_TipoRelacion = Exferia_Controles.Exferia_F3.Exferia_F3_TipoRelacion.Ninguna;
this.ex_usc_F3_P_Expediente_Demandado.Exferia_F3_Titulo = "Demandado";
this.ex_usc_F3_P_Expediente_Demandado.Location = new System.Drawing.Point(28, 208);
this.ex_usc_F3_P_Expediente_Demandado.Name = "ex_usc_F3_P_Expediente_Demandado";
this.ex_usc_F3_P_Expediente_Demandado.Size = new System.Drawing.Size(708, 22);
this.ex_usc_F3_P_Expediente_Demandado.TabIndex = 40;
this.ex_usc_F3_P_Expediente_Demandado.Tag = "";
//
// ex_usc_F3_P_Expediente_Asesor
//
this.ex_usc_F3_P_Expediente_Asesor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_usc_F3_P_Expediente_Asesor.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Ancho_Codigo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_CODIGO.Normal;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Ancho_Titulo = Exferia_Aplicacion.General.Enumerados.G_ENUM_F3_TITULO.Normal;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Bloquear_F3_Descripcion = false;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Codigo = "";
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_DatosAuxiliares_1 = null;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_DatosAuxiliares_2 = null;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_DatosAuxiliares_3 = null;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Descripcion = "";
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_FechaBorrado = null;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Id = ((long)(-1));
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_IdEjercicio_Baja = null;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Objeto_ParaEnviarAMantenimiento = null;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_PRINCIPAL_Obligatorio = true;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_PRINCIPAL_Opcion_BuscarDatos = "";
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_PRINCIPAL_PermitirAdd = true;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_RELACIONADOS_Objetos_Hijos = null;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_RELACIONAL_TipoRelacion = Exferia_Controles.Exferia_F3.Exferia_F3_TipoRelacion.Ninguna;
this.ex_usc_F3_P_Expediente_Asesor.Exferia_F3_Titulo = "Asesor";
this.ex_usc_F3_P_Expediente_Asesor.Location = new System.Drawing.Point(28, 184);
this.ex_usc_F3_P_Expediente_Asesor.Name = "ex_usc_F3_P_Expediente_Asesor";
this.ex_usc_F3_P_Expediente_Asesor.Size = new System.Drawing.Size(708, 22);
this.ex_usc_F3_P_Expediente_Asesor.TabIndex = 35;
this.ex_usc_F3_P_Expediente_Asesor.Tag = "";
//
// P_Expediente
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(797, 670);
this.Controls.Add(this.ex_usc_F3_P_Expediente_Asesor);
this.Controls.Add(this.ex_usc_F3_P_Expediente_Demandado);
this.Controls.Add(this.panel1);
this.Controls.Add(this.ex_chk_P_Expediente_Colectivo);
this.Controls.Add(this.exferia_TabControl1);
this.Controls.Add(this.ex_usc_P_Expediente_FechaBaja);
this.Controls.Add(this.ex_usc_P_Expediente_FechaAlta);
this.Controls.Add(this.ex_btn_P_Expediente_BuscarCodigoSiguiente);
this.Controls.Add(this.ex_Paginador);
this.Controls.Add(this.ex_btn_P_Expediente_Borrar);
this.Controls.Add(this.ex_btn_P_Expediente_Grabar);
this.Controls.Add(this.ex_txt_P_Expediente_Descripcion);
this.Controls.Add(this.ex_lbl_P_Expediente_Descripcion);
this.Controls.Add(this.ex_txt_P_Expediente_Codigo);
this.Controls.Add(this.ex_lbl_P_Expediente_Codigo);
this.Name = "P_Expediente";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.P_Expediente_FormClosed);
this.Load += new System.EventHandler(this.P_Expediente_Load);
this.Shown += new System.EventHandler(this.P_Expediente_Shown);
this.Controls.SetChildIndex(this.ex_lbl_P_Expediente_Codigo, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Expediente_Codigo, 0);
this.Controls.SetChildIndex(this.ex_lbl_P_Expediente_Descripcion, 0);
this.Controls.SetChildIndex(this.ex_txt_P_Expediente_Descripcion, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Expediente_Grabar, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Expediente_Borrar, 0);
this.Controls.SetChildIndex(this.ex_Paginador, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Expediente_BuscarCodigoSiguiente, 0);
this.Controls.SetChildIndex(this.ex_usc_P_Expediente_FechaAlta, 0);
this.Controls.SetChildIndex(this.ex_usc_P_Expediente_FechaBaja, 0);
this.Controls.SetChildIndex(this.exferia_TabControl1, 0);
this.Controls.SetChildIndex(this.ex_chk_P_Expediente_Colectivo, 0);
this.Controls.SetChildIndex(this.panel1, 0);
this.Controls.SetChildIndex(this.ex_usc_F3_P_Expediente_Demandado, 0);
this.Controls.SetChildIndex(this.ex_usc_F3_P_Expediente_Asesor, 0);
this.exferia_TabControl1.ResumeLayout(false);
this.tbp_Actores.ResumeLayout(false);
this.tbp_Actores.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Expediente_Actores)).EndInit();
this.tbp_Procedimientos.ResumeLayout(false);
this.tbp_Procedimientos.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.ex_dgv_P_Expediente_Procedimientos)).EndInit();
this.tbp_Observaciones.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Exferia_Controles.Exferia_Label ex_lbl_P_Expediente_Codigo;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Expediente_Codigo;
private Exferia_Controles.Exferia_Label ex_lbl_P_Expediente_Descripcion;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Expediente_Descripcion;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Grabar;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Borrar;
private Exferia_Controles.Exferia_Paginador ex_Paginador;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_BuscarCodigoSiguiente;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Expediente_Observaciones;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_P_Expediente_FechaAlta;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_P_Expediente_FechaBaja;
private Exferia_Controles.Exferia_TabControl exferia_TabControl1;
private System.Windows.Forms.TabPage tbp_Actores;
private System.Windows.Forms.TabPage tbp_Procedimientos;
private System.Windows.Forms.TabPage tbp_Observaciones;
private Exferia_Controles.Exferia_BarraProgreso ex_pgb_P_Expediente_Actores;
private Exferia_Controles.Exferia_ComboBox ex_cbo_P_Expediente_Actores_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Actores_Borrar;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Actores_Ver;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Actores_Add;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Actores_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Actores_Filtros;
private Exferia_Controles.Exferia_DataGridView ex_dgv_P_Expediente_Actores;
private Exferia_Controles.Exferia_Label exferia_Label4;
private Exferia_Controles.Exferia_BarraProgreso ex_pgb_P_Expediente_Procedimientos;
private Exferia_Controles.Exferia_ComboBox ex_cbo_P_Expediente_Procedimientos_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Procedimientos_Ver;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Procedimientos_OrdenListado;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Procedimientos_Filtros;
private Exferia_Controles.Exferia_DataGridView ex_dgv_P_Expediente_Procedimientos;
private Exferia_Controles.Exferia_Label exferia_Label5;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Procedimientos_Borrar;
private Exferia_Controles.Exferia_Button ex_btn_P_Expediente_Procedimientos_Add;
private Exferia_Controles.Exferia_CheckBox ex_chk_P_Expediente_Colectivo;
private Exferia_Controles.Exferia_RadioButton ex_rdb_P_Expediente_Demandante;
private Exferia_Controles.Exferia_RadioButton ex_rdb_P_Expediente_Demandado;
private System.Windows.Forms.Panel panel1;
private Exferia_Controles.Exferia_F3 ex_usc_F3_P_Expediente_Demandado;
private Exferia_Controles.Exferia_F3 ex_usc_F3_P_Expediente_Asesor;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,394 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class P_Juzgado
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.pnl_scroll = new System.Windows.Forms.Panel();
this.ex_tbc_P_Juzgado = new Exferia_Controles.Exferia_TabControl();
this.tbp_Direccion = new System.Windows.Forms.TabPage();
this.ex_usc_Direccion_P_Juzgado_Envio = new Exferia_Controles.Exferia_Direccion();
this.tbp_Observaciones = new System.Windows.Forms.TabPage();
this.ex_txt_P_Juzgado_Observaciones = new Exferia_Controles.Exferia_TextBox();
this.ex_lbl_P_Juzgado_Descripcion = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_Juzgado_Descripcion = new Exferia_Controles.Exferia_TextBox();
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente = new Exferia_Controles.Exferia_Button();
this.ex_txt_P_Juzgado_Codigo = new Exferia_Controles.Exferia_TextBox();
this.ex_lbl_P_Juzgado_Codigo = new Exferia_Controles.Exferia_Label();
this.ex_Paginador = new Exferia_Controles.Exferia_Paginador();
this.ex_btn_P_Juzgado_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_Juzgado_Grabar = new Exferia_Controles.Exferia_Button();
this.tbp_Mapa = new System.Windows.Forms.TabPage();
this.ctu_usc_P_Juzgado_Mapa = new Exferia_Controles.ControlesAuxiliares.CTU_Mapa();
this.pnl_scroll.SuspendLayout();
this.ex_tbc_P_Juzgado.SuspendLayout();
this.tbp_Direccion.SuspendLayout();
this.tbp_Observaciones.SuspendLayout();
this.tbp_Mapa.SuspendLayout();
this.SuspendLayout();
//
// pnl_scroll
//
this.pnl_scroll.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnl_scroll.BackColor = System.Drawing.Color.Transparent;
this.pnl_scroll.Controls.Add(this.ex_tbc_P_Juzgado);
this.pnl_scroll.Controls.Add(this.ex_lbl_P_Juzgado_Descripcion);
this.pnl_scroll.Controls.Add(this.ex_txt_P_Juzgado_Descripcion);
this.pnl_scroll.Controls.Add(this.ex_btn_P_Juzgado_BuscarCodigoSiguiente);
this.pnl_scroll.Controls.Add(this.ex_txt_P_Juzgado_Codigo);
this.pnl_scroll.Controls.Add(this.ex_lbl_P_Juzgado_Codigo);
this.pnl_scroll.Location = new System.Drawing.Point(8, 78);
this.pnl_scroll.Name = "pnl_scroll";
this.pnl_scroll.Size = new System.Drawing.Size(749, 537);
this.pnl_scroll.TabIndex = 39;
//
// ex_tbc_P_Juzgado
//
this.ex_tbc_P_Juzgado.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_tbc_P_Juzgado.Controls.Add(this.tbp_Direccion);
this.ex_tbc_P_Juzgado.Controls.Add(this.tbp_Observaciones);
this.ex_tbc_P_Juzgado.Controls.Add(this.tbp_Mapa);
this.ex_tbc_P_Juzgado.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed;
this.ex_tbc_P_Juzgado.Exferia_TabControl_Fondo_TabPage_Cambiado = System.Drawing.Color.WhiteSmoke;
this.ex_tbc_P_Juzgado.Exferia_TabControl_Fondo_TabPage_Normal = System.Drawing.Color.WhiteSmoke;
this.ex_tbc_P_Juzgado.Exferia_TabControl_Fondo_TabPage_Seleccionado = System.Drawing.Color.WhiteSmoke;
this.ex_tbc_P_Juzgado.Exferia_TabControl_Letra_TabPage_Cambiado = System.Drawing.Color.Black;
this.ex_tbc_P_Juzgado.Exferia_TabControl_Letra_TabPage_Normal = System.Drawing.Color.Black;
this.ex_tbc_P_Juzgado.Exferia_TabControl_Letra_TabPage_Seleccionado = System.Drawing.Color.Black;
this.ex_tbc_P_Juzgado.Location = new System.Drawing.Point(4, 56);
this.ex_tbc_P_Juzgado.Name = "ex_tbc_P_Juzgado";
this.ex_tbc_P_Juzgado.SelectedIndex = 0;
this.ex_tbc_P_Juzgado.Size = new System.Drawing.Size(733, 478);
this.ex_tbc_P_Juzgado.TabIndex = 75;
this.ex_tbc_P_Juzgado.Selected += new System.Windows.Forms.TabControlEventHandler(this.ex_tbc_P_Juzgado_Selected);
//
// tbp_Direccion
//
this.tbp_Direccion.Controls.Add(this.ex_usc_Direccion_P_Juzgado_Envio);
this.tbp_Direccion.Location = new System.Drawing.Point(4, 22);
this.tbp_Direccion.Name = "tbp_Direccion";
this.tbp_Direccion.Padding = new System.Windows.Forms.Padding(3);
this.tbp_Direccion.Size = new System.Drawing.Size(725, 452);
this.tbp_Direccion.TabIndex = 0;
this.tbp_Direccion.Text = "Dirección";
this.tbp_Direccion.UseVisualStyleBackColor = true;
//
// ex_usc_Direccion_P_Juzgado_Envio
//
this.ex_usc_Direccion_P_Juzgado_Envio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_usc_Direccion_P_Juzgado_Envio.Exferia_Direccion_RELACIONADOS_Objeto = null;
this.ex_usc_Direccion_P_Juzgado_Envio.Exferia_DireccionFiscal_RELACIONADOS_Objeto = null;
this.ex_usc_Direccion_P_Juzgado_Envio.int_TIPODIRECCION = 0;
this.ex_usc_Direccion_P_Juzgado_Envio.Location = new System.Drawing.Point(6, 6);
this.ex_usc_Direccion_P_Juzgado_Envio.Name = "ex_usc_Direccion_P_Juzgado_Envio";
this.ex_usc_Direccion_P_Juzgado_Envio.Size = new System.Drawing.Size(713, 179);
this.ex_usc_Direccion_P_Juzgado_Envio.TabIndex = 30;
//
// tbp_Observaciones
//
this.tbp_Observaciones.Controls.Add(this.ex_txt_P_Juzgado_Observaciones);
this.tbp_Observaciones.Location = new System.Drawing.Point(4, 22);
this.tbp_Observaciones.Name = "tbp_Observaciones";
this.tbp_Observaciones.Size = new System.Drawing.Size(725, 452);
this.tbp_Observaciones.TabIndex = 2;
this.tbp_Observaciones.Text = "Observaciones";
this.tbp_Observaciones.UseVisualStyleBackColor = true;
//
// ex_txt_P_Juzgado_Observaciones
//
this.ex_txt_P_Juzgado_Observaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Juzgado_Observaciones.AutoScroll = true;
this.ex_txt_P_Juzgado_Observaciones.BackColor = System.Drawing.Color.White;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_MaxLength = 500;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Multiline = true;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Obligatorio = false;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Juzgado_Observaciones.Location = new System.Drawing.Point(4, 3);
this.ex_txt_P_Juzgado_Observaciones.Name = "ex_txt_P_Juzgado_Observaciones";
this.ex_txt_P_Juzgado_Observaciones.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Juzgado_Observaciones.Size = new System.Drawing.Size(718, 446);
this.ex_txt_P_Juzgado_Observaciones.TabIndex = 140;
this.ex_txt_P_Juzgado_Observaciones.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_lbl_P_Juzgado_Descripcion
//
this.ex_lbl_P_Juzgado_Descripcion.AutoSize = true;
this.ex_lbl_P_Juzgado_Descripcion.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_Juzgado_Descripcion.Location = new System.Drawing.Point(9, 32);
this.ex_lbl_P_Juzgado_Descripcion.Name = "ex_lbl_P_Juzgado_Descripcion";
this.ex_lbl_P_Juzgado_Descripcion.Size = new System.Drawing.Size(63, 13);
this.ex_lbl_P_Juzgado_Descripcion.TabIndex = 71;
this.ex_lbl_P_Juzgado_Descripcion.Text = "Descripción";
//
// ex_txt_P_Juzgado_Descripcion
//
this.ex_txt_P_Juzgado_Descripcion.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_Juzgado_Descripcion.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(227)))));
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_MaxLength = 100;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Juzgado_Descripcion.Location = new System.Drawing.Point(114, 30);
this.ex_txt_P_Juzgado_Descripcion.Name = "ex_txt_P_Juzgado_Descripcion";
this.ex_txt_P_Juzgado_Descripcion.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Juzgado_Descripcion.Size = new System.Drawing.Size(628, 20);
this.ex_txt_P_Juzgado_Descripcion.TabIndex = 15;
this.ex_txt_P_Juzgado_Descripcion.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_btn_P_Juzgado_BuscarCodigoSiguiente
//
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BUSCARCODIGO_P;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Exferia_Button_TabStop = false;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Exferia_Button_ToolTip = "Código siguiente";
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Location = new System.Drawing.Point(218, 3);
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Name = "ex_btn_P_Juzgado_BuscarCodigoSiguiente";
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Size = new System.Drawing.Size(21, 21);
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.TabIndex = 10;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.TabStop = false;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.UseVisualStyleBackColor = false;
this.ex_btn_P_Juzgado_BuscarCodigoSiguiente.Click += new System.EventHandler(this.ex_btn_P_Juzgado_BuscarCodigoSiguiente_Click);
//
// ex_txt_P_Juzgado_Codigo
//
this.ex_txt_P_Juzgado_Codigo.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(254)))), ((int)(((byte)(255)))), ((int)(((byte)(227)))));
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_MaxLength = 10;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Multiline = false;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.None;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_Juzgado_Codigo.Location = new System.Drawing.Point(114, 3);
this.ex_txt_P_Juzgado_Codigo.Name = "ex_txt_P_Juzgado_Codigo";
this.ex_txt_P_Juzgado_Codigo.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_Juzgado_Codigo.Size = new System.Drawing.Size(98, 20);
this.ex_txt_P_Juzgado_Codigo.TabIndex = 5;
this.ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_lbl_P_Juzgado_Codigo
//
this.ex_lbl_P_Juzgado_Codigo.AutoSize = true;
this.ex_lbl_P_Juzgado_Codigo.Location = new System.Drawing.Point(9, 6);
this.ex_lbl_P_Juzgado_Codigo.Name = "ex_lbl_P_Juzgado_Codigo";
this.ex_lbl_P_Juzgado_Codigo.Size = new System.Drawing.Size(40, 13);
this.ex_lbl_P_Juzgado_Codigo.TabIndex = 0;
this.ex_lbl_P_Juzgado_Codigo.Text = "Código";
//
// ex_Paginador
//
this.ex_Paginador.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ex_Paginador.Location = new System.Drawing.Point(8, 619);
this.ex_Paginador.Name = "ex_Paginador";
this.ex_Paginador.PaginaActual = 1;
this.ex_Paginador.PaginasTotales = 1;
this.ex_Paginador.Size = new System.Drawing.Size(405, 39);
this.ex_Paginador.TabIndex = 40;
this.ex_Paginador.TabStop = false;
this.ex_Paginador.txt_ValorPaginaActual = 999999999;
this.ex_Paginador.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click);
this.ex_Paginador.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress);
//
// ex_btn_P_Juzgado_Borrar
//
this.ex_btn_P_Juzgado_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Juzgado_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Juzgado_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Juzgado_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Juzgado_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_Juzgado_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Juzgado_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Juzgado_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_Juzgado_Borrar.Exferia_Button_ToolTip = "Borrar (F5)";
this.ex_btn_P_Juzgado_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Juzgado_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Juzgado_Borrar.Location = new System.Drawing.Point(763, 84);
this.ex_btn_P_Juzgado_Borrar.Name = "ex_btn_P_Juzgado_Borrar";
this.ex_btn_P_Juzgado_Borrar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Juzgado_Borrar.TabIndex = 120;
this.ex_btn_P_Juzgado_Borrar.TabStop = false;
this.ex_btn_P_Juzgado_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Juzgado_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_Juzgado_Borrar.Click += new System.EventHandler(this.ex_btn_P_Juzgado_Borrar_Click);
//
// ex_btn_P_Juzgado_Grabar
//
this.ex_btn_P_Juzgado_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_Juzgado_Grabar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_Juzgado_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_Juzgado_Grabar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_Juzgado_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR;
this.ex_btn_P_Juzgado_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_Juzgado_Grabar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_Juzgado_Grabar.Exferia_Button_TabStop = false;
this.ex_btn_P_Juzgado_Grabar.Exferia_Button_ToolTip = "Grabar (F2)";
this.ex_btn_P_Juzgado_Grabar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_Juzgado_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_Juzgado_Grabar.Location = new System.Drawing.Point(763, 44);
this.ex_btn_P_Juzgado_Grabar.Name = "ex_btn_P_Juzgado_Grabar";
this.ex_btn_P_Juzgado_Grabar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_Juzgado_Grabar.TabIndex = 115;
this.ex_btn_P_Juzgado_Grabar.TabStop = false;
this.ex_btn_P_Juzgado_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_Juzgado_Grabar.UseVisualStyleBackColor = false;
this.ex_btn_P_Juzgado_Grabar.Click += new System.EventHandler(this.ex_btn_P_Juzgado_Grabar_Click);
//
// tbp_Mapa
//
this.tbp_Mapa.Controls.Add(this.ctu_usc_P_Juzgado_Mapa);
this.tbp_Mapa.Location = new System.Drawing.Point(4, 22);
this.tbp_Mapa.Name = "tbp_Mapa";
this.tbp_Mapa.Size = new System.Drawing.Size(725, 452);
this.tbp_Mapa.TabIndex = 3;
this.tbp_Mapa.Text = "Mapa";
this.tbp_Mapa.UseVisualStyleBackColor = true;
//
// ctu_usc_P_Juzgado_Mapa
//
this.ctu_usc_P_Juzgado_Mapa.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ctu_usc_P_Juzgado_Mapa.BackColor = System.Drawing.SystemColors.ActiveBorder;
this.ctu_usc_P_Juzgado_Mapa.Boton_PantallaCompleta_Visible = false;
this.ctu_usc_P_Juzgado_Mapa.Location = new System.Drawing.Point(4, 3);
this.ctu_usc_P_Juzgado_Mapa.Name = "ctu_usc_P_Juzgado_Mapa";
this.ctu_usc_P_Juzgado_Mapa.Size = new System.Drawing.Size(718, 446);
this.ctu_usc_P_Juzgado_Mapa.SoloLectura = false;
this.ctu_usc_P_Juzgado_Mapa.TabIndex = 137;
//
// P_Juzgado
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(806, 670);
this.Controls.Add(this.ex_btn_P_Juzgado_Borrar);
this.Controls.Add(this.ex_btn_P_Juzgado_Grabar);
this.Controls.Add(this.ex_Paginador);
this.Controls.Add(this.pnl_scroll);
this.Name = "P_Juzgado";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.P_Juzgado_FormClosed);
this.Load += new System.EventHandler(this.P_Juzgado_Load);
this.Shown += new System.EventHandler(this.P_Juzgado_Shown);
this.Controls.SetChildIndex(this.pnl_scroll, 0);
this.Controls.SetChildIndex(this.ex_Paginador, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Juzgado_Grabar, 0);
this.Controls.SetChildIndex(this.ex_btn_P_Juzgado_Borrar, 0);
this.pnl_scroll.ResumeLayout(false);
this.pnl_scroll.PerformLayout();
this.ex_tbc_P_Juzgado.ResumeLayout(false);
this.tbp_Direccion.ResumeLayout(false);
this.tbp_Observaciones.ResumeLayout(false);
this.tbp_Mapa.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Panel pnl_scroll;
private Exferia_Controles.Exferia_Button ex_btn_P_Juzgado_BuscarCodigoSiguiente;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Juzgado_Codigo;
private Exferia_Controles.Exferia_Label ex_lbl_P_Juzgado_Codigo;
private Exferia_Controles.Exferia_Paginador ex_Paginador;
private Exferia_Controles.Exferia_Button ex_btn_P_Juzgado_Borrar;
private Exferia_Controles.Exferia_Button ex_btn_P_Juzgado_Grabar;
private Exferia_Controles.Exferia_Label ex_lbl_P_Juzgado_Descripcion;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Juzgado_Descripcion;
private Exferia_Controles.Exferia_TabControl ex_tbc_P_Juzgado;
private System.Windows.Forms.TabPage tbp_Direccion;
private Exferia_Controles.Exferia_Direccion ex_usc_Direccion_P_Juzgado_Envio;
private System.Windows.Forms.TabPage tbp_Observaciones;
private Exferia_Controles.Exferia_TextBox ex_txt_P_Juzgado_Observaciones;
private System.Windows.Forms.TabPage tbp_Mapa;
private Exferia_Controles.ControlesAuxiliares.CTU_Mapa ctu_usc_P_Juzgado_Mapa;
}
}

View File

@ -0,0 +1,537 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Visualizacion;
using Exferia_Controles;
using Exferia_EntityFramework;
using Exferia_Expedientes._3_Vistas.Controladoras;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using static Exferia_Aplicacion.General.Enumerados;
using System.Linq;
using Exferia_Controles.ControlesAuxiliares;
namespace Exferia_Expedientes._3_Vistas
{
public partial class P_Juzgado : Exferia_Formularios.P_Base_Mantenimientos
{
#region Variables Generales
private P_Juzgado_Controladora g_obj_Controladora;
private bool g_bol_ContructorPantalla_Terminado_Correctamente = true;
public PRV_OpcionesDetalle g_mdl_PRV_OpcionesDetalle = null;
private bool g_bol_CargarMapa = true;
internal List<INTERNO_Permisos_Modelo> g_lst_INTERNO_Permisos_Modelo = null;
//Variables paginador
public Funciones_Paginador g_obj_Funciones_Paginador;
private Timer g_timer_Paginar = new Timer();
#endregion
#region Objetos en Pantalla
//Mapa
internal CTU_Mapa CTU_Mapa { get { return ctu_usc_P_Juzgado_Mapa; } }
//Exferia_Buttons
internal Exferia_Button Exferia_Button_BuscarCodigoSiguiente { get { return ex_btn_P_Juzgado_BuscarCodigoSiguiente; } }
internal Exferia_Button Exferia_Button_Grabar { get { return ex_btn_P_Juzgado_Grabar; } }
internal Exferia_Button Exferia_Button_Borrar { get { return ex_btn_P_Juzgado_Borrar; } }
//Exferia_Direccion
internal Exferia_Direccion Exferia_Direccion_Envio { get { return ex_usc_Direccion_P_Juzgado_Envio; } }
//Exferia_Label
internal Exferia_Label Exferia_Label_Codigo { get { return ex_lbl_P_Juzgado_Codigo; } }
internal Exferia_Label Exferia_Label_Descripcion { get { return ex_lbl_P_Juzgado_Descripcion; } }
//Exferia_Paginador
internal Exferia_Paginador Exferia_Paginador_Juzgado { get { return ex_Paginador; } }
//Exferia_TextBox
internal Exferia_TextBox Exferia_TextBox_Codigo { get { return ex_txt_P_Juzgado_Codigo; } }
internal Exferia_TextBox Exferia_TextBox_Descripcion { get { return ex_txt_P_Juzgado_Descripcion; } }
internal Exferia_TextBox Exferia_TextBox_Observaciones { get { return ex_txt_P_Juzgado_Observaciones; } }
#endregion
#region Constructor
public P_Juzgado(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle)
{
InitializeComponent();
try
{
Repintar.Empezar(this);
Repintar.Empezar(CTU_Mapa);
CheckForIllegalCrossThreadCalls = false;
//Empezar seleccionada y fecha de trabajo.............................................................
P_Base_ValoresGenerales = _mdl_INTERNO_ValoresGenerales_Modelo;
P_Base_FechaTrabajo = _dtt_FechaTrabajo;
//Instanciar Controladora
g_obj_Controladora = new P_Juzgado_Controladora(this);
//Datos de Opcion Detalle
g_mdl_PRV_OpcionesDetalle = _mdl_PRV_OpcionesDetalle;
//Buscar los permisos
g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(g_mdl_PRV_OpcionesDetalle.opcion);
//Poner los botones que no se pueden poner bloqueados o de solo lectura
ex_btn_P_Juzgado_Borrar.Exferia_Button_Bloqueable = false;
ex_btn_P_Juzgado_Grabar.Exferia_Button_Bloqueable = false;
//mirar si hay que bloquear los controles, si solo puede ver los datos
if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false)
{
//Bloqueo los controles
SoloLectura.Empezar(this, true);
}
//Titulo de la pantalla.............................................................
P_Base_TituloPantalla = _mdl_PRV_OpcionesDetalle.descripcion_TituloMantenimiento;
//..................................................................................
//Tipo de campo Codigo, poner como numérico o texto ...............................
if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO != null)
{
//Si no existe es Text
if (Variables.G_LST_GEN_CONFIGURACION_CAMPOCODIGO.Where(m => m.nombreCampoCodigo.Equals(nameof(EPD_Juzgados.codigo)) && m.opcion.Equals(g_mdl_PRV_OpcionesDetalle.opcion)).FirstOrDefault() != null)
{
ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Tipos = G_ENUM_TEXTBOX_TIPODATO.Digitos;
ex_txt_P_Juzgado_Codigo.Exferia_TextBox_Tipo_Decimal_Enteros = ex_txt_P_Juzgado_Codigo.Exferia_TextBox_MaxLength;
g_obj_Controladora.g_bol_CampoCodigo_Numerico = true;
}
}
//................................................................................
// Label con Empresa Seleccionada .....................................................
if (P_Base_ValoresGenerales != null)
{
try
{
P_Base_Mantenimientos_InformacionEmpresaSeleccionada = P_Base_ValoresGenerales.str_Empresa_Descripcion + " - " +
"(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")";
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Juzgado) + "/" + nameof(P_Juzgado));
}
}
//.....................................................................................
//Bloquear pantalla hasta que termine la carga por defecto .....
Enabled = false;
//..............................................................
g_obj_Funciones_Paginador = new Funciones_Paginador();
//Rellenar para los F3.................................................................
}
catch (Control_Errores)
{
g_bol_ContructorPantalla_Terminado_Correctamente = false;
}
catch (Exception ex)
{
g_bol_ContructorPantalla_Terminado_Correctamente = false;
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Juzgado) + "/" + nameof(P_Juzgado));
}
finally
{
//Bloquear pantalla hasta que termine la carga por defecto.............................
Enabled = true;
//.....................................................................................
}
}
#endregion
#region Inicio de pantalla
private void P_Juzgado_Load(object sender, EventArgs e)
{
try
{
#region TIMER PAGINACION
g_timer_Paginar.Interval = 1000;
g_timer_Paginar.Tick += delegate (object s, EventArgs ee)
{
g_timer_Paginar.Stop();
try
{
g_obj_Controladora.RecargarDatos();
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
};
#endregion
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Juzgado) + "/" + nameof(P_Juzgado_Load));
g_bol_ContructorPantalla_Terminado_Correctamente = false;
}
}
private void P_Juzgado_Shown(object sender, EventArgs e)
{
try
{
if (g_bol_ContructorPantalla_Terminado_Correctamente)
{
if (P_Base_TipoAperturaPantalla == 0)
{
P_Base_TituloPantalla = P_Base_TituloPantalla + " - Añadir";
ActivarBotones(false);
//Se cambia el valor de la variable para que no salte el evento de "se modifico algo"
g_obj_Controladora.g_bol_Termino_CargaDatosInicial = false;
//Poner Text predeterminado y foco
if ((P_Base_Campo_1 != null && P_Base_Campo_1.Trim().Length > 0) ||
(P_Base_Campo_2 != null && P_Base_Campo_2.Trim().Length > 0))
{
if (P_Base_Campo_1 != null && P_Base_Campo_1.Trim().Length > 0)
{
Exferia_TextBox_Codigo.Text = P_Base_Campo_1;
Exferia_TextBox_Descripcion.Exferia_TextBox_Foco();
}
if (P_Base_Campo_2 != null && P_Base_Campo_2.Trim().Length > 0)
{
Exferia_TextBox_Descripcion.Text = P_Base_Campo_2;
Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
}
else
{
Exferia_TextBox_Codigo.Exferia_TextBox_Foco();
}
g_obj_Controladora.g_bol_Termino_CargaDatosInicial = true;
}
//Modificar
else
{
ActivarBotones(true);
//Paginacion
if (P_Base_PantallaOrigen != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0)
{
g_obj_Funciones_Paginador.Listado_ARecorrer(P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.ToList(), 1);
//Asignado las paginas totales
Exferia_Paginador_Juzgado.PaginasTotales = g_obj_Funciones_Paginador.Numero_Paginas_Totales;
}
else
{
Exferia_Paginador_Juzgado.Visible = false;
}
g_obj_Controladora.RecargarDatos();
//Una vez cargados los datos ponemos a false la modificacion de datos
g_obj_Controladora.g_bol_ModificacionDatosAfectaLineas = false;
}
}
else
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_Juzgado) + "/" + nameof(P_Juzgado_Shown));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
public void ActivarBotones(bool _bol_Activar)
{
if (Exferia_Paginador_Juzgado.Visible)
{
Exferia_Paginador_Juzgado.Visible = _bol_Activar;
}
if (ex_btn_P_Juzgado_Borrar.Enabled)
{
ex_btn_P_Juzgado_Borrar.Enabled = _bol_Activar;
}
}
#endregion
#region Botones Grabar, Borrar, BuscarCodigoSiguiente
//Grabar
private void ex_btn_P_Juzgado_Grabar_Click(object sender, EventArgs e)
{
Grabar();
}
private void Grabar()
{
if (//Añadir
(P_Base_TipoAperturaPantalla == 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Anadir, true)) ||
//Modificar
(P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true)))
{
g_obj_Controladora.GrabarDatos(true);
}
}
//Borrar
private void ex_btn_P_Juzgado_Borrar_Click(object sender, EventArgs e)
{
Borrar();
}
private void Borrar()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Borrar, true))
{
g_obj_Controladora.BorrarDatos(true);
}
}
//Buscar codigo siguiente
private void ex_btn_P_Juzgado_BuscarCodigoSiguiente_Click(object sender, EventArgs e)
{
BuscarCodigoSiguiente();
}
private void BuscarCodigoSiguiente()
{
INTERNO_ValorDevuelto_Modelo mdl_INTERNO_ValorDevuelto_Modelo = g_obj_Controladora.Buscar_CodigoSiguiente();
if (mdl_INTERNO_ValorDevuelto_Modelo.TodoCorrecto == false && mdl_INTERNO_ValorDevuelto_Modelo.Mensaje.Trim().Length > 0)
{
Mensajes.MostrarMensaje(mdl_INTERNO_ValorDevuelto_Modelo.Mensaje);
}
else
{
P_Base_SeModificoDatosPantalla = true;
}
}
#endregion
#region Eventos del paginador
protected void ctu_Paginacion_Primera_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) //Si no ha habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Primera())
{
//Asignando el control a la pagina actual
Exferia_Paginador_Juzgado.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
//Refrescamos el listado a mostrar en el form
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Anterior_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios())//Si no ha habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Anterior())
{
//Asignando al control la pagina actual.
Exferia_Paginador_Juzgado.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
//Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Siguiente_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Siguiente())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Juzgado.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Ultima_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios())//Si no ha habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Ultima())
{
// Asignando al control la pagina actual.
Exferia_Paginador_Juzgado.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void txt_PaginaActual_KeyPress(object sender, KeyPressEventArgs e)
{
//Si pulsamos Enter:
if (e.KeyChar.Equals('\r'))
{
if (g_obj_Controladora.ComprobarCambios()) //Si no ha habido contratiempos pasamos a la pagina indicada
{
//Asignamos a la paginacion el valor del textbox
g_obj_Funciones_Paginador.SetPaginaActual(Exferia_Paginador_Juzgado.txt_ValorPaginaActual - 1);
// Asignando al control la pagina actual.
Exferia_Paginador_Juzgado.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_obj_Controladora.RecargarDatos();
}
}
}
#endregion
#region Tabs
//Se utiliza por si alguno de los permisos dice que hay que bloquear el tab
private void ex_tbc_P_Juzgado_Selecting(object sender, TabControlCancelEventArgs e)
{
e.Cancel = !e.TabPage.Enabled;
}
private void ex_tbc_P_Juzgado_Selected(object sender, TabControlEventArgs e)
{
//Cargar el Mapa solo si se seleccionada en la pestaña
if (e.TabPage.Text.Equals("Mapa") && g_bol_CargarMapa)
{
g_bol_CargarMapa = false;
g_obj_Controladora.RecargarMapa();
}
}
#endregion
#region Teclas de acceso rapido
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
//Salir sin Seleccionar
if (keyData == Keys.F10)
{
Salir_P_Base();
return true;
}
//Grabar
else if (keyData == Keys.F2)
{
Grabar();
return true;
}
//Borrar
else if (keyData == Keys.F5)
{
Borrar();
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
#endregion
#region Controlar si se modifica algo
private void Controlar_Modificaciones_TextBox_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
if (g_obj_Controladora != null &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial)
{
g_obj_Controladora.g_bol_ModificacionDatosAfectaLineas = true;
}
}
private void Controlar_Modificaciones_CheckBox_CheckedChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
if (g_obj_Controladora != null &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial)
{
g_obj_Controladora.g_bol_ModificacionDatosAfectaLineas = true;
}
}
private void Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
if (g_obj_Controladora != null &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial)
{
g_obj_Controladora.g_bol_ModificacionDatosAfectaLineas = true;
}
}
private void Controlar_Modificaciones_Exferia_F3_TextChanged(object sender, EventArgs e)
{
if (g_obj_Controladora != null &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial &&
g_obj_Controladora.g_bol_Termino_CargaDatosInicial)
{
g_obj_Controladora.g_bol_ModificacionDatosAfectaLineas = true;
}
}
private void Controlar_Modificaciones()
{
if (Enabled && g_obj_Controladora != null && g_obj_Controladora.g_bol_Termino_CargaDatosInicial)
{
P_Base_SeModificoDatosPantalla = true;
}
}
#endregion
private void P_Juzgado_FormClosed(object sender, FormClosedEventArgs e)
{
try
{}
catch (Control_Errores)
{ }
catch (Exception ex)
{
Control_Errores.Errores_Log("", ex, nameof(P_Juzgado) + "/" + nameof(P_Juzgado_FormClosed));
}
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,191 @@
namespace Exferia_Expedientes._3_Vistas
{
partial class P_ProcedimientoNotificacion
{
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
/// <param name="disposing">true si los recursos administrados se deben desechar; false en caso contrario.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Código generado por el Diseñador de Windows Forms
/// <summary>
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
/// </summary>
private void InitializeComponent()
{
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones = new Exferia_Controles.Exferia_Label();
this.ex_txt_P_ProcedimientoNotificacion_Observaciones = new Exferia_Controles.Exferia_TextBox();
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion = new Exferia_Controles.Exferia_FechaSeleccion();
this.ex_btn_P_ProcedimientoNotificacion_Grabar = new Exferia_Controles.Exferia_Button();
this.ex_btn_P_ProcedimientoNotificacion_Borrar = new Exferia_Controles.Exferia_Button();
this.ex_Paginador = new Exferia_Controles.Exferia_Paginador();
this.SuspendLayout();
//
// ex_lbl_P_ProcedimientoNotificacion_Observaciones
//
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones.AutoSize = true;
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones.BackColor = System.Drawing.Color.Transparent;
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones.Location = new System.Drawing.Point(30, 113);
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones.Name = "ex_lbl_P_ProcedimientoNotificacion_Observaciones";
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones.Size = new System.Drawing.Size(78, 13);
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones.TabIndex = 45;
this.ex_lbl_P_ProcedimientoNotificacion_Observaciones.Text = "Observaciones";
//
// ex_txt_P_ProcedimientoNotificacion_Observaciones
//
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Bloqueable = true;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_BordeColor_Foco = System.Drawing.Color.Red;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_BordeColor_Normal = System.Drawing.Color.Black;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Fondo = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(237)))), ((int)(((byte)(175)))));
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_MaxLength = 500;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Multiline = true;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_NoBloquear = true;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Obligatorio = true;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_PasswordChar = '\0';
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Permitir_CambioFuenteAutomatico = true;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_ReadOnly = false;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_SelectionLength = 0;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_SelectionStart = 0;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_TabStop_Txt = true;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_TextAlign = System.Windows.Forms.HorizontalAlignment.Left;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Texto_Inicial = "";
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Tipo_Decimal_Decimales = 2;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Tipo_Decimal_Enteros = 9;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Tipos = Exferia_Aplicacion.General.Enumerados.G_ENUM_TEXTBOX_TIPODATO.Textos;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_UseSystemPasswordChar = false;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Location = new System.Drawing.Point(135, 110);
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Name = "ex_txt_P_ProcedimientoNotificacion_Observaciones";
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Padding = new System.Windows.Forms.Padding(2);
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Size = new System.Drawing.Size(601, 493);
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.TabIndex = 20;
this.ex_txt_P_ProcedimientoNotificacion_Observaciones.Exferia_TextBox_Evento_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_TextBox_TextChanged);
//
// ex_usc_P_ProcedimientoNotificacion_FechaRecepcion
//
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.BackColor = System.Drawing.Color.Transparent;
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Exferia_FechaSeleccion_Bloqueable = true;
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Exferia_FechaSeleccion_Descripcion = "Fecha recepción";
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Exferia_FechaSeleccion_Fecha = " / /";
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Exferia_FechaSeleccion_Obligatorio = true;
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Exferia_FechaSeleccion_ReadOnly = false;
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Location = new System.Drawing.Point(28, 86);
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Name = "ex_usc_P_ProcedimientoNotificacion_FechaRecepcion";
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Size = new System.Drawing.Size(218, 24);
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.TabIndex = 30;
this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion.Exferia_FechaSeleccion_TextBox_TextChanged += new System.EventHandler(this.Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged);
//
// ex_btn_P_ProcedimientoNotificacion_Grabar
//
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_ProcedimientoNotificacion_Grabar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_GUARDAR;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Exferia_Button_TabStop = false;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Exferia_Button_ToolTip = "Grabar (F2)";
this.ex_btn_P_ProcedimientoNotificacion_Grabar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Location = new System.Drawing.Point(758, 44);
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Name = "ex_btn_P_ProcedimientoNotificacion_Grabar";
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_ProcedimientoNotificacion_Grabar.TabIndex = 53;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.TabStop = false;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.UseVisualStyleBackColor = false;
this.ex_btn_P_ProcedimientoNotificacion_Grabar.Click += new System.EventHandler(this.ex_btn_P_ProcedimientoNotificacion_Grabar_Click);
//
// ex_btn_P_ProcedimientoNotificacion_Borrar
//
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.ex_btn_P_ProcedimientoNotificacion_Borrar.BackColor = System.Drawing.Color.Maroon;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Exferia_Button_Bloqueable = true;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Exferia_Button_Imagen = Exferia_Aplicacion.General.Imagenes.G_ENUM_IMAGENES.G_IMG_BORRAR;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Exferia_Button_Permitir_CambioFuenteAutomatico = true;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Exferia_Button_ReadOnly = false;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Exferia_Button_TabStop = false;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Exferia_Button_ToolTip = "Borrar (F5)";
this.ex_btn_P_ProcedimientoNotificacion_Borrar.FlatAppearance.BorderSize = 0;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Location = new System.Drawing.Point(758, 86);
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Name = "ex_btn_P_ProcedimientoNotificacion_Borrar";
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Size = new System.Drawing.Size(31, 36);
this.ex_btn_P_ProcedimientoNotificacion_Borrar.TabIndex = 54;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.TabStop = false;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.UseVisualStyleBackColor = false;
this.ex_btn_P_ProcedimientoNotificacion_Borrar.Click += new System.EventHandler(this.ex_btn_P_ProcedimientoNotificacion_Borrar_Click);
//
// ex_Paginador
//
this.ex_Paginador.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.ex_Paginador.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ex_Paginador.Location = new System.Drawing.Point(28, 609);
this.ex_Paginador.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.ex_Paginador.Name = "ex_Paginador";
this.ex_Paginador.PaginaActual = 1;
this.ex_Paginador.PaginasTotales = 1;
this.ex_Paginador.Size = new System.Drawing.Size(405, 39);
this.ex_Paginador.TabIndex = 56;
this.ex_Paginador.TabStop = false;
this.ex_Paginador.txt_ValorPaginaActual = 999999999;
this.ex_Paginador.Exferia_Paginador_Evento_Primera_Click += new System.EventHandler(this.ctu_Paginacion_Primera_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Anterior_Click += new System.EventHandler(this.ctu_Paginacion_Anterior_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Siguiente_Click += new System.EventHandler(this.ctu_Paginacion_Siguiente_Click);
this.ex_Paginador.Exferia_Paginador_Evento_Ultima_Click += new System.EventHandler(this.ctu_Paginacion_Ultima_Click);
this.ex_Paginador.Exferia_Paginador_Evento_PaginaActual_KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txt_PaginaActual_KeyPress);
//
// P_ProcedimientoNotificacion
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(797, 670);
this.Controls.Add(this.ex_Paginador);
this.Controls.Add(this.ex_btn_P_ProcedimientoNotificacion_Borrar);
this.Controls.Add(this.ex_btn_P_ProcedimientoNotificacion_Grabar);
this.Controls.Add(this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion);
this.Controls.Add(this.ex_txt_P_ProcedimientoNotificacion_Observaciones);
this.Controls.Add(this.ex_lbl_P_ProcedimientoNotificacion_Observaciones);
this.Name = "P_ProcedimientoNotificacion";
this.Load += new System.EventHandler(this.P_ProcedimientoNotificacion_Load);
this.Shown += new System.EventHandler(this.P_ProcedimientoNotificacion_Shown);
this.Controls.SetChildIndex(this.ex_lbl_P_ProcedimientoNotificacion_Observaciones, 0);
this.Controls.SetChildIndex(this.ex_txt_P_ProcedimientoNotificacion_Observaciones, 0);
this.Controls.SetChildIndex(this.ex_usc_P_ProcedimientoNotificacion_FechaRecepcion, 0);
this.Controls.SetChildIndex(this.ex_btn_P_ProcedimientoNotificacion_Grabar, 0);
this.Controls.SetChildIndex(this.ex_btn_P_ProcedimientoNotificacion_Borrar, 0);
this.Controls.SetChildIndex(this.ex_Paginador, 0);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Exferia_Controles.Exferia_Label ex_lbl_P_ProcedimientoNotificacion_Observaciones;
private Exferia_Controles.Exferia_TextBox ex_txt_P_ProcedimientoNotificacion_Observaciones;
private Exferia_Controles.Exferia_FechaSeleccion ex_usc_P_ProcedimientoNotificacion_FechaRecepcion;
private Exferia_Controles.Exferia_Button ex_btn_P_ProcedimientoNotificacion_Grabar;
private Exferia_Controles.Exferia_Button ex_btn_P_ProcedimientoNotificacion_Borrar;
private Exferia_Controles.Exferia_Paginador ex_Paginador;
}
}

View File

@ -0,0 +1,416 @@
using Exferia_Aplicacion.General;
using Exferia_Aplicacion.Visualizacion;
using Exferia_Controles;
using Exferia_EntityFramework;
using Exferia_Expedientes._3_Vistas.Controladoras;
using Exferia_General;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
using static Exferia_Aplicacion.General.Enumerados;
using Exferia_Expedientes._0_Modelos;
namespace Exferia_Expedientes._3_Vistas
{
public partial class P_ProcedimientoNotificacion : Exferia_Formularios.P_Base_Mantenimientos
{
#region Variables General
private P_ProcedimientoNotificacion_Controladora g_obj_Controladora;
private bool g_bol_ConstructorPantalla_Terminado_Correctamente = true;
public PRV_OpcionesDetalle g_mdl_PRV_OpcionesDetalle = null;
internal List<INTERNO_Permisos_Modelo> g_lst_INTERNO_Permisos_Modelo = null;
//Variables paginador......................................................................................
public Funciones_Paginador g_obj_Funciones_Paginador;
private System.Windows.Forms.Timer g_timer_Paginar = new System.Windows.Forms.Timer();
#endregion
#region Objetos en Pantalla
//Exferia_FechaSeleccion
internal Exferia_FechaSeleccion Exferia_FechaSeleccion_Alta { get { return ex_usc_P_ProcedimientoNotificacion_FechaRecepcion; } }
//Exferia_Label
internal Exferia_Label Exferia_Label_Observaciones { get { return ex_lbl_P_ProcedimientoNotificacion_Observaciones; } }
//Exferia_Paginador
internal Exferia_Paginador Exferia_Paginador_ProcedimientoNotificacion { get { return ex_Paginador; } }
//Exferia_TextBox
internal Exferia_TextBox Exferia_TextBox_Observaciones { get { return ex_txt_P_ProcedimientoNotificacion_Observaciones; } }
#endregion
#region Constructor
public P_ProcedimientoNotificacion(INTERNO_ValoresGenerales_Modelo _mdl_INTERNO_ValoresGenerales_Modelo, DateTime _dtt_FechaTrabajo, PRV_OpcionesDetalle _mdl_PRV_OpcionesDetalle, INTERNO_EPD_Procedimientos_Modelo _mdl_INTERNO_EPD_Procedimientos_Modelo)
{
InitializeComponent();
try
{
Repintar.Empezar(this);
CheckForIllegalCrossThreadCalls = false;
//Empresa seleccionada y fecha de trabajo ....................................................
P_Base_ValoresGenerales = _mdl_INTERNO_ValoresGenerales_Modelo;
P_Base_FechaTrabajo = _dtt_FechaTrabajo;
//Instanciar Controladora
g_obj_Controladora = new P_ProcedimientoNotificacion_Controladora(this, _mdl_INTERNO_EPD_Procedimientos_Modelo);
//Datos de Opciones Detalle
g_mdl_PRV_OpcionesDetalle = _mdl_PRV_OpcionesDetalle;
//Buscar los Permisos
g_lst_INTERNO_Permisos_Modelo = Datos_Generales.Permisos_Buscar(g_mdl_PRV_OpcionesDetalle.opcion);
//Poner los Botones que no se Spueden poner bloqueados o de solo lectura
ex_btn_P_ProcedimientoNotificacion_Borrar.Exferia_Button_Bloqueable = false;
ex_btn_P_ProcedimientoNotificacion_Grabar.Exferia_Button_Bloqueable = false;
//Mirar si hay que bloquear los controles, si solo puede ver los datos
if ((P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, false)) == false)
{
//Bloqueo los Controles
SoloLectura.Empezar(this, true);
}
//Titulo de la Pantalla .............................................................................
P_Base_TituloPantalla = _mdl_PRV_OpcionesDetalle.descripcion_TituloMantenimiento;
// Label con Empresa Seleccionada
if (P_Base_ValoresGenerales != null)
{
try
{
P_Base_Mantenimientos_InformacionEmpresaSeleccionada = P_Base_ValoresGenerales.str_Empresa_Descripcion + " - " +
"(" + P_Base_FechaTrabajo.ToString("dd/MM/yyyy") + ")";
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion) + "/" + nameof(P_ProcedimientoNotificacion));
}
}
//....................................................................................................
//Bloquear pantalla hasta que termine la carga por defecto .....
Enabled = false;
//.............................................................
g_obj_Funciones_Paginador = new Funciones_Paginador();
}
catch (Control_Errores)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
catch (Exception ex)
{
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion) + "/" + nameof(P_ProcedimientoNotificacion));
}
finally
{
//Bloquear pantalla hasta que termine la carga por defecto .....
Enabled = true;
//.............................................................
}
}
#endregion
#region Inicio de pantalla
private void P_ProcedimientoNotificacion_Load(object sender, EventArgs e)
{
try
{
#region Paginacion
g_timer_Paginar.Interval = 1000;
g_timer_Paginar.Tick += delegate (object s, EventArgs ee)
{
g_timer_Paginar.Stop();
try
{
g_obj_Controladora.RecargarDatos();
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
};
#endregion
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion) + "/" + nameof(P_ProcedimientoNotificacion_Load));
g_bol_ConstructorPantalla_Terminado_Correctamente = false;
}
}
private void P_ProcedimientoNotificacion_Shown(object sender, EventArgs e)
{
try
{
if (g_bol_ConstructorPantalla_Terminado_Correctamente)
{
// Si el Tipo de Apertura de Pantalla es Añadir(g_int_tipoAperturaPantalla = 0), se desactivan los botones correspondientes
// Añadir
if (P_Base_TipoAperturaPantalla == 0)
{
P_Base_TituloPantalla = P_Base_TituloPantalla + " - Añadir";
ActivarBotones(false);
//Se cambia el valor de la variable para no salte el evento de se modifico algo
g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = false;
Exferia_FechaSeleccion_Alta.Exferia_FechaSeleccion_Fecha = Variables.G_DTT_FECHA_INICIAL_PORDEFECTO.ToString("dd/MM/yyyy");
Exferia_TextBox_Observaciones.Exferia_TextBox_Foco();
g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial = true;
}
// Modificar
else
{
ActivarBotones(true);
//Paginacion
if (P_Base_PantallaOrigen != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados != null &&
P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.Count > 0)
{
g_obj_Funciones_Paginador.Listado_ARecorrer(P_Base_PantallaOrigen.P_Base_Objetos_Filtrados.ToList(), 1);
// Asignando las paginas totales
Exferia_Paginador_ProcedimientoNotificacion.PaginasTotales = g_obj_Funciones_Paginador.Numero_Paginas_Totales;
}
else
{
Exferia_Paginador_ProcedimientoNotificacion.Visible = false;
}
g_obj_Controladora.RecargarDatos();
}
}
else
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
catch (Control_Errores)
{
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
catch (Exception ex)
{
//No se muestra mensaje pero se guarda en el log
Control_Errores.Errores_Log("", ex, nameof(P_ProcedimientoNotificacion) + "/" + nameof(P_ProcedimientoNotificacion_Shown));
Mensajes.MostrarMensaje(Mensajes.G_STR_MENSAJES_GENERAL_ERROR_CARGARDATOSPANTALLA());
Salir_P_Base();
}
}
public void ActivarBotones(bool _bol_Activar)
{
if (Exferia_Paginador_ProcedimientoNotificacion.Visible)
{
Exferia_Paginador_ProcedimientoNotificacion.Visible = _bol_Activar;
}
if (ex_btn_P_ProcedimientoNotificacion_Borrar.Enabled)
{
ex_btn_P_ProcedimientoNotificacion_Borrar.Enabled = _bol_Activar;
}
}
#endregion
#region Botones Grabar,Borrar,BuscarCodigoSiguiente
private void ex_btn_P_ProcedimientoNotificacion_Grabar_Click(object sender, EventArgs e)
{
Grabar();
}
private void Grabar()
{
if (//Añadir
(P_Base_TipoAperturaPantalla == 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Anadir, true)) ||
//Modificar
(P_Base_TipoAperturaPantalla != 0 && Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Modificar, true)))
{
g_obj_Controladora.GrabarDatos(true);
}
}
private void ex_btn_P_ProcedimientoNotificacion_Borrar_Click(object sender, EventArgs e)
{
Borrar();
}
private void Borrar()
{
if (Datos_Generales.Permisos_Comprobar(g_mdl_PRV_OpcionesDetalle.opcion, g_lst_INTERNO_Permisos_Modelo, (int)G_ENUM_PERMISOS.Borrar, true))
{
g_obj_Controladora.BorrarDatos(true);
}
}
#endregion
#region Eventos del Paginador
protected void ctu_Paginacion_Primera_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Primera())
{
// Asignando al control la pagina actual.
Exferia_Paginador_ProcedimientoNotificacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Anterior_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Anterior())
{
// Asignando al control la pagina actual.
Exferia_Paginador_ProcedimientoNotificacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Siguiente_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Siguiente())
{
// Asignando al control la pagina actual.
Exferia_Paginador_ProcedimientoNotificacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void ctu_Paginacion_Ultima_Click(object sender, EventArgs e)
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
if (g_obj_Funciones_Paginador.Ultima())
{
// Asignando al control la pagina actual.
Exferia_Paginador_ProcedimientoNotificacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_timer_Paginar.Start();
}
}
}
protected void txt_PaginaActual_KeyPress(object sender, KeyPressEventArgs e)
{
// Si pulsamos Enter.
if (e.KeyChar.Equals('\r'))
{
if (g_obj_Controladora.ComprobarCambios()) // Si no han habido contratiempos pasamos a la pagina indicada
{
// Asignamos a la paginacion el valor del textbox
g_obj_Funciones_Paginador.SetPaginaActual(Exferia_Paginador_ProcedimientoNotificacion.txt_ValorPaginaActual - 1);
// Asignando al control la pagina actual.
Exferia_Paginador_ProcedimientoNotificacion.PaginaActual = g_obj_Funciones_Paginador.GetPaginaActual();
// Refrescamos el listado a mostrar en el form.
P_Base_id = g_obj_Funciones_Paginador.Objeto_Devuelto.FirstOrDefault().ID;
g_timer_Paginar.Stop();
g_obj_Controladora.RecargarDatos();
}
}
}
#endregion
#region Teclas de acceso rapido
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
// Salir sin Seleccionar
if (keyData == Keys.F10)
{
Salir_P_Base();
return true;
}
// Grabar
else if (keyData == Keys.F2)
{
Grabar();
return true;
}
// Borrar
else if (keyData == Keys.F5)
{
Borrar();
return true;
}
return base.ProcessCmdKey(ref msg, keyData);
}
#endregion
#region Controlar si se modifica algo
private void Controlar_Modificaciones_TextBox_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones_Exferia_FechaSeleccion_TextChanged(object sender, EventArgs e)
{
Controlar_Modificaciones();
}
private void Controlar_Modificaciones()
{
if (Enabled && g_obj_Controladora != null && g_obj_Controladora.g_bol_Termino_CargaDatos_Inicial)
{
P_Base_SeModificoDatosPantalla = true;
}
}
#endregion
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,16 @@
using Exferia_Aplicacion.General;
using Exferia_EntityFramework;
using Exferia_Expedientes._1_Datos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes
{
public class Datos_Expedientes
{
}
}

View File

@ -0,0 +1,254 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{24E04E49-AA03-48FF-AA46-883DD4EE48E8}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Exferia_Expedientes</RootNamespace>
<AssemblyName>Exferia_Expedientes</AssemblyName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="ClosedXML, Version=0.87.0.0, Culture=neutral, PublicKeyToken=fd1eb21b62ae805b, processorArchitecture=MSIL" />
<Reference Include="EntityFramework">
<HintPath>..\..\..\DLL\EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Exferia_Aplicacion">
<HintPath>..\..\..\DLL\Exferia_Aplicacion.dll</HintPath>
</Reference>
<Reference Include="Exferia_Controles">
<HintPath>..\..\..\DLL\Exferia_Controles.dll</HintPath>
</Reference>
<Reference Include="Exferia_EntityFramework">
<HintPath>..\..\..\DLL\Exferia_EntityFramework.dll</HintPath>
</Reference>
<Reference Include="Exferia_Formularios">
<HintPath>..\..\..\DLL\Exferia_Formularios.dll</HintPath>
</Reference>
<Reference Include="Exferia_General">
<HintPath>..\..\..\DLL\Exferia_General.dll</HintPath>
</Reference>
<Reference Include="Exferia_Sincronizacion">
<HintPath>..\..\..\DLL\Exferia_Sincronizacion.dll</HintPath>
</Reference>
<Reference Include="GMap.NET.Core">
<HintPath>..\..\..\DLL\GMap.NET.Core.dll</HintPath>
</Reference>
<Reference Include="GMap.NET.WindowsForms">
<HintPath>..\..\..\DLL\GMap.NET.WindowsForms.dll</HintPath>
</Reference>
<Reference Include="MonthCalendarControl">
<HintPath>..\..\..\DLL\MonthCalendarControl.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Transactions" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="0_Modelos\INTERNO_EPD_Actores_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Actores_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Asesores_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Demandados_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Procedimientos_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Demandados_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Expedientes_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_Informe_CitacionesPorExpediente_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_Informe_Citaciones_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Materias_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_ProcedimientosNotificaciones_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Citaciones_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Procedimientos_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Expedientes_Listado_Modelo.cs" />
<Compile Include="0_Modelos\INTERNO_EPD_Juzgados_Listado_Modelo.cs" />
<Compile Include="1_Datos\EPD_Actores_Datos.cs" />
<Compile Include="1_Datos\EPD_Procedimientos_Actores_Datos.cs" />
<Compile Include="1_Datos\EPD_ProcedimientosNotificaciones_Datos.cs" />
<Compile Include="1_Datos\EPD_Procedimientos_Datos.cs" />
<Compile Include="1_Datos\EPD_Materias_Datos.cs" />
<Compile Include="1_Datos\EPD_Citaciones_Datos.cs" />
<Compile Include="1_Datos\EPD_Expedientes_Actores_Datos.cs" />
<Compile Include="1_Datos\EPD_Expedientes_Datos.cs" />
<Compile Include="1_Datos\EPD_Demandados_Datos.cs" />
<Compile Include="1_Datos\EPD_Asesores_Datos.cs" />
<Compile Include="1_Datos\EPD_Juzgados_Datos.cs" />
<Compile Include="3_Vistas\Controladoras\PI_CitacionesPorExpediente_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\PI_Citaciones_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_Actor_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_Citacion_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_ProcedimientoNotificacion_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_Procedimiento_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_Expediente_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_Demandado_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_Asesor_Controladora.cs" />
<Compile Include="3_Vistas\Controladoras\P_Juzgado_Controladora.cs" />
<Compile Include="3_Vistas\F3\ABS_F3_EPD_Actores.cs" />
<Compile Include="3_Vistas\F3\ABS_F3_EPD_Materias.cs" />
<Compile Include="3_Vistas\F3\ABS_F3_EPD_Procedimientos.cs" />
<Compile Include="3_Vistas\F3\ABS_F3_EPD_Expedientes.cs" />
<Compile Include="3_Vistas\F3\ABS_F3_EPD_Demandados.cs" />
<Compile Include="3_Vistas\F3\ABS_F3_EPD_Juzgados.cs" />
<Compile Include="3_Vistas\F3\ABS_F3_EPD_Asesores.cs" />
<Compile Include="3_Vistas\ListadosSeleccion\ABS_ListadoSeleccion_Actores.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_CitacionesPorExpediente_Informe.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_Citaciones_Informe.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Citaciones_P_Demandado.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Citaciones_P_Actor.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Expedientes_P_Demandado.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Expedientes_P_Actor.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Procedimientos_P_Demandado.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Procedimientos_P_Actor.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Procedimientos.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Materias.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Actores_P_Expediente.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Actores.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Actores_P_Procedimiento.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_ProcedimientosNotificaciones.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Citaciones.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Expedientes.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Demandados.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Asesores.cs" />
<Compile Include="3_Vistas\Listados\ABS_Listado_EPD_Juzgados.cs" />
<Compile Include="3_Vistas\MantenimientoSimple\ABS_MantenimientoSimple_EPD_Materias.cs" />
<Compile Include="3_Vistas\PI_CitacionesPorExpediente.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\PI_CitacionesPorExpediente.Designer.cs">
<DependentUpon>PI_CitacionesPorExpediente.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\PI_Citaciones.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\PI_Citaciones.Designer.cs">
<DependentUpon>PI_Citaciones.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_Actor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_Actor.Designer.cs">
<DependentUpon>P_Actor.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_Citacion.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_Citacion.Designer.cs">
<DependentUpon>P_Citacion.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_ProcedimientoNotificacion.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_ProcedimientoNotificacion.Designer.cs">
<DependentUpon>P_ProcedimientoNotificacion.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_Procedimiento.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_Procedimiento.Designer.cs">
<DependentUpon>P_Procedimiento.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_Expediente.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_Expediente.Designer.cs">
<DependentUpon>P_Expediente.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_Demandado.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_Demandado.Designer.cs">
<DependentUpon>P_Demandado.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_Asesor.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_Asesor.Designer.cs">
<DependentUpon>P_Asesor.cs</DependentUpon>
</Compile>
<Compile Include="3_Vistas\P_Juzgado.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="3_Vistas\P_Juzgado.Designer.cs">
<DependentUpon>P_Juzgado.cs</DependentUpon>
</Compile>
<Compile Include="Datos_Expedientes.cs" />
<Compile Include="General\Funciones_Expedientes.cs" />
<Compile Include="General\ListadosEstaticos.cs" />
<Compile Include="General\Variables_Expedientes.cs" />
<Compile Include="Opciones.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="3_Vistas\Bolsa\" />
<Folder Include="3_Vistas\ControlesPersonalizados_DentroPaneles\" />
<Folder Include="3_Vistas\ListadosAgrupaciones\" />
<Folder Include="3_Vistas\MantenimientoAgrupacionesCabecera\" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="3_Vistas\PI_CitacionesPorExpediente.resx">
<DependentUpon>PI_CitacionesPorExpediente.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\PI_Citaciones.resx">
<DependentUpon>PI_Citaciones.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_Actor.resx">
<DependentUpon>P_Actor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_Citacion.resx">
<DependentUpon>P_Citacion.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_ProcedimientoNotificacion.resx">
<DependentUpon>P_ProcedimientoNotificacion.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_Procedimiento.resx">
<DependentUpon>P_Procedimiento.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_Expediente.resx">
<DependentUpon>P_Expediente.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_Demandado.resx">
<DependentUpon>P_Demandado.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_Asesor.resx">
<DependentUpon>P_Asesor.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="3_Vistas\P_Juzgado.resx">
<DependentUpon>P_Juzgado.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes.General
{
public class Funciones_Expedientes
{
}
}

View File

@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes.General
{
public class ListadosEstaticos
{
}
}

View File

@ -0,0 +1,21 @@
using Exferia_Aplicacion.General;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exferia_Expedientes.General
{
public class Variables_Expedientes
{
public static string G_STR_PAIS_CODIGO_ESPANA = "ES";
#region Demandante/Demandado
public static INTERNO_CodigoDescripcion_Modelo G_MDL_DEMANDANTEDEMANDADO_DEMANDANTE = new INTERNO_CodigoDescripcion_Modelo("1", "Demandante");
public static INTERNO_CodigoDescripcion_Modelo G_MDL_DEMANDANTEDEMANDADO_DEMANDADO = new INTERNO_CodigoDescripcion_Modelo("2", "Demandado");
#endregion
}
}

Some files were not shown because too many files have changed in this diff Show More