2 using System.Collections.Generic;
3 using System.ComponentModel;
23 #region PROPIEDADES PRIVADAS 26 #endregion PROPIEDADES PRIVADAS 29 #region PROPIEDADES PUBLICAS 36 get {
return (
Cliente)this._ewMante; }
43 public string _Cliente
45 get {
return this._ewMante.
_Codigo; }
49 #endregion PROPIEDADES PUBLICAS 60 InitializeComponent();
71 InitializeComponent();
75 this.eventosControles();
77 this._ewMante = toCliente;
81 this.constructorVarios();
89 private void constructorVarios()
93 string lcIniServ = Convert.ToString(
sage.
ew.
global.
EW_GLOBAL._GetVariable(
"wc_iniservidor")).TrimEnd();
94 if (
string.IsNullOrWhiteSpace(lcIniServ))
95 lcIniServ =
System.IO.Path.GetTempPath().TrimEnd();
97 this.SelFicheroImagen._PathDestino = lcIniServ +
@"COMUNES\FOTOS\";
103 this.ewpanelImagenesArticulo.Visible =
false;
104 this.ewImageMante.Visible =
true;
105 this.ewImageMante.Dock = DockStyle.Fill;
107 int screenHeight = Screen.PrimaryScreen.Bounds.Height;
108 if (screenHeight <= 900)
110 ewpanel2.Height -= 85;
111 ewImageMante.Height -= 85;
116 #endregion CONSTRUCTOR 119 #region METODOS PROTECTED OVERRIDE 130 #endregion METODOS PROTECTED OVERRIDE 133 #region METODOS PRIVADOS 136 #endregion METODOS PRIVADOS 139 #region METODOS PUBLICOS 148 SelFicheroImagen._ReadOnly = llReadOnlyPaginas;
149 ewImageMante._ReadOnly = llReadOnlyPaginas;
159 this.ewImageMante._Imagenes = this._oCliente._TRelImagenes;
163 #endregion METODOS PUBLICOS Clase de negocio base para mantenimientos
Definición de la interfície necesaria para las páginas(tabPage) a utilizar en formularios de tipo For...
ClientesPaginaGeneralFicheros()
Constructor vacío.
override void _Binding()
Bindear los objetos contenidos en la página (interficie ITabMante)
override string _Codigo
PE-102491: override de _Codigo para que en el Set podamos convertir el número que nos llega a código ...
Usercontrol para la subpestaña "Ficheros asociados" de la pestaña "General" del formulario frmCliente...
Clase EW_GLOBAL para gestionar las variables públicas de Eurowin, variables de empresa, variables de anchuras de campo, variables de mascaras, etc.
ClientesPaginaGeneralFicheros(ewMante toCliente, FormBase loForm=null)
Constructor
override void eventosControles()
Programación de eventos de los controles contenido en este UserControl.
override void _BloquearControles(bool llReadOnlyPaginas)
Bloquear controles del usercontrol (interficie ITabMante)