public frmAgregarProductos(clsConexion cone, clsEntidadUsuario pEntidadUsuario, clsEntidadVista vista) { materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.DeepOrange700, Primary.DeepOrange900, Primary.DeepOrange500, Accent.DeepOrange200, TextShade.WHITE); this.conexion = cone; this.pEntidadVista = vista; this.usuarios = pEntidadUsuario; this.productos = new clsEntidadProducto(); this.clProductos = new clsProducto(); this.clVistas = new clsVistas(); InitializeComponent(); }
public frmListadoFacturas(clsConexion cone, clsEntidadUsuario pEntidadUsuario, clsEntidadVista vista) { materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.DeepOrange700, Primary.DeepOrange900, Primary.DeepOrange500, Accent.DeepOrange200, TextShade.WHITE); this.clFactura = new clsFactura(); this.factura = new clsEntidadDetalleFactura(); facturaE = new clsEntidadFacturaEncabezado(); this.conexion = cone; usuario = pEntidadUsuario; this.clVistas = new clsVistas(); InitializeComponent(); }
public frmAsignarRol(clsConexion cone, clsEntidadUsuario pEntidadUsuario, clsEntidadVista vistas) { materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.DeepOrange700, Primary.DeepOrange900, Primary.DeepOrange500, Accent.DeepOrange200, TextShade.WHITE); this.conexion = cone; this.pEntidadVista = vistas; this.usuario = pEntidadUsuario; this.pEntidadRol = new clsEntidadRol(); this.clUsuario = new clsUsuario(); this.clRol = new clsRol(); this.pEntidadRol = new clsEntidadRol(); this.pEntidadRolesUsurios = new clsEntidadRolesUsuarios(); this.clRolesUsuarios = new clsRolesUsuarios(); this.clVistas = new clsVistas(); InitializeComponent(); }
public frmLista(clsConexion conexion, string tipo) { materialSkinManager = MaterialSkinManager.Instance; materialSkinManager.AddFormToManage(this); materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT; materialSkinManager.ColorScheme = new ColorScheme(Primary.DeepOrange700, Primary.DeepOrange900, Primary.DeepOrange500, Accent.DeepOrange200, TextShade.WHITE); this.conexion = conexion; pEntidadProducto = new clsEntidadProducto(); pEntidadUsuario = new clsEntidadUsuario(); clProducto = new clsProducto(); clUsuarios = new clsUsuario(); clRol = new clsRol(); clVistas = new clsVistas(); this.tipo = tipo; InitializeComponent(); }