public _00005_Usuario(ISeguridadUnidadDeTrabajo _seguridadUoW, IServicioSeguridadUnidadDeTrabajo _seguridadServicio) { InitializeComponent(); this.Name = "_00200_Usuario"; this.TituloVentana = "Usuarios"; this.Titulo = "Usuarios de Sistema"; this.Leyenda = "Aquí Ud. podrá Crear, Eliminar o Bloquear un Usuario y restablecer su contraseña"; this.ColorTitulo = Color.Black; this.ColorLeyenda = Color.Gray; this.seguridadUoW = _seguridadUoW; this.seguridadServicio = _seguridadServicio; this.listaIds = new List<long>(); // Cargar evento de Validacion de Caracteres this.txtBuscar.KeyPress += new KeyPressEventHandler(base.textBoxLetrasNumeros_KeyPress); // Color al recibir el Foco this.txtBuscar.Enter += new EventHandler(base.control_Enter); // Color al perder el Foco this.txtBuscar.Leave += new EventHandler(base.control_Leave); ActualizarDatos(string.Empty); }
public Principal(IServicioSeguridadUnidadDeTrabajo _servicioSeguridad) { InitializeComponent(); this.servicioSeguridad = _servicioSeguridad; this.menuAbierto = false; }
public _00011_AsignarFormularioPerfil(ISeguridadUnidadDeTrabajo _seguridadUoW, IServicioSeguridadUnidadDeTrabajo _seguridadServicio) { InitializeComponent(); this.Name = "_00011_AsignarFormularioPerfil"; this.seguridadUoW = _seguridadUoW; this.seguridadServicio = _seguridadServicio; listaFormulariosAsignados = new List<long>(); listaFormulariosNoAsignados = new List<long>(); this.txtBuscarAsignado.Leave += new EventHandler(txt_Leave); this.txtBuscarAsignado.Enter += new EventHandler(txt_Enter); this.txtBuscarNoAsignado.Leave += new EventHandler(txt_Leave); this.txtBuscarNoAsignado.Enter += new EventHandler(txt_Enter); }