示例#1
0
        public EmpleadosDetalle(Ejecutor exec, String id, String nombre, String p_apellido, String s_apellido, String s_usuario, String s_tipo)
        {
            InitializeComponent();
            textBox1.Enabled = false;
            textBox2.Enabled = false;
            textBox3.Enabled = false;
            textBox4.Enabled = false;
            textBox5.Enabled = false;
            textBox6.Enabled = false;


            ejec            = exec;
            sda             = new NpgsqlDataAdapter();
            this.id         = id;
            this.nombre     = nombre;
            this.p_apellido = p_apellido;
            this.s_apellido = s_apellido;
            this.s_usuario  = s_usuario;
            this.s_tipo     = s_tipo;
            textBox1.Text   = id;
            textBox2.Text   = nombre;
            textBox3.Text   = p_apellido;
            textBox4.Text   = s_apellido;
            textBox5.Text   = s_usuario;
            textBox6.Text   = s_tipo;
        }
示例#2
0
 public CapturadorSimetrias(String id, Ejecutor exec)
 {
     InitializeComponent();
     ejec           = exec;
     this.id        = id;
     textBox1.Text  = "";
     textBox2.Text  = "";
     textBox3.Text  = "";
     textBox4.Text  = "";
     textBox5.Text  = "";
     textBox6.Text  = "";
     textBox7.Text  = "";
     textBox8.Text  = "";
     textBox9.Text  = "";
     textBox10.Text = "";
     textBox11.Text = "";
     textBox12.Text = "";
     textBox13.Text = "";
     textBox14.Text = "";
     textBox15.Text = "";
     textBox16.Text = "";
     textBox17.Text = "";
     textBox18.Text = "";
     textBox19.Text = "";
     textBox20.Text = "";
     textBox21.Text = "";
     textBox22.Text = "";
     textBox23.Text = "";
 }
示例#3
0
 public DetallesProdServ(Ejecutor exec, String clave_producto, String clave_tipo_prod, String nombre_producto, String duracion, String precio, String fecha_expiracion, String fecha_alta)
 {
     InitializeComponent();
     ejec              = exec;
     clave             = clave_producto;
     tipo_prod         = clave_tipo_prod;
     nombre            = nombre_producto;
     dur               = duracion;
     prec              = precio;
     f_alta            = fecha_alta.Substring(0, 10);
     f_expiracion      = fecha_expiracion;
     textBox1.Enabled  = false;
     textBox2.Enabled  = false;
     textBox3.Enabled  = false;
     textBox4.Enabled  = false;
     textBox5.Enabled  = false;
     textBox6.Enabled  = false;
     textBox7.Enabled  = false;
     checkBox1.Checked = false;
     textBox1.Text     = clave;
     textBox3.Text     = tipo_prod;
     textBox2.Text     = nombre;
     textBox4.Text     = dur;
     textBox5.Text     = prec;
     textBox6.Text     = f_alta;
     textBox7.Text     = f_expiracion;
     Cargar_historico();
 }
示例#4
0
 public GestorProductos(Ejecutor exec)
 {
     InitializeComponent();
     ejec = exec;
     sda  = new NpgsqlDataAdapter();
     comboBox1.Items.Add("Producto");
     comboBox1.Items.Add("Servicio");
     comboBox1.SelectedItem = "Servicio";
     textBox3.Enabled       = false;
     textBox2.Enabled       = false;
     textBox1.Enabled       = false;
     textBox4.Enabled       = false;
     comboBox1.Enabled      = false;
     button1.Enabled        = false;
     button2.Enabled        = false;
     comboBox2.Items.Add("Todo");
     comboBox2.Items.Add("Productos");
     comboBox2.Items.Add("Servicios");
     comboBox2.SelectedItem = "Todo";
     comboBox3.Items.Add("Todos");
     comboBox3.Items.Add("Activos");
     comboBox3.Items.Add("Inactivos");
     comboBox3.SelectedItem = "Todos";
     comboBox3.Enabled      = false;
     button4.Enabled        = false;
     button6.Enabled        = false;
 }
示例#5
0
 public Empleados(Ejecutor exec)
 {
     InitializeComponent();
     ejec = exec;
     comboBox1.Items.Add("Empleado");
     comboBox1.Items.Add("Administrador");
     comboBox1.SelectedItem = "Empleado";
 }
示例#6
0
 public Ver_Socios(Ejecutor exec)
 {
     InitializeComponent();
     ejec            = exec;
     sda             = new NpgsqlDataAdapter();
     button1.Enabled = false;
     button4.Enabled = false;
     comboBox1.Items.Add("Todos");
     comboBox1.Items.Add("Activos");
     comboBox1.Items.Add("Inactivos");
     comboBox1.SelectedItem = "Todos";
 }
示例#7
0
 public Gestor_Ventas(Ejecutor ejec)
 {
     InitializeComponent();
     exec = ejec;
     sda  = new NpgsqlDataAdapter();
     Catalogo_Productos();
     textBox2.Enabled = false;
     textBox3.Text    = "1";
     contador         = 0;
     a_carrito_prod   = new int[40];
     a_carrito_prec   = new decimal[40];
     a_cantidad       = new int[40];
 }
示例#8
0
 public Inspector_ventas(Ejecutor exec, String clave_venta, String clave_socio, String fecha_venta, String importe)
 {
     InitializeComponent();
     this.exec = exec;
     sda       = new NpgsqlDataAdapter();
     inicializacion(clave_socio);
     textBox1.Text = clave_venta;
     textBox2.Text = fecha_venta.Substring(0, 10);
     textBox3.Text = this.clave_socio;
     textBox7.Text = importe;
     textBox4.Text = nombre;
     textBox5.Text = pApellido;
     textBox6.Text = sApellido;
     carga_detalle();
 }
示例#9
0
 public GestionSuscripcion(Ejecutor ejec, int id, String f_fin, String nombre, String pApellido, String sApelldido, String f_ini)
 {
     InitializeComponent();
     exec            = ejec;
     f_ini           = f_ini.Substring(0, 10);
     this.f_ini      = f_ini;
     f_fin           = f_fin.Substring(0, 10);
     this.F_fin      = f_fin;
     clave_socio     = id;
     this.nombre     = nombre;
     this.pApellido  = pApellido;
     this.sApelldido = sApelldido;
     clave_producto  = get_id_servicio();
     costo           = get_precio_producto();
     duracion        = get_duracion();
     nombreServicio  = get_Nombre_Servicio();
     Completar_campos();
 }
示例#10
0
 public Inspector(Ejecutor exec, String id, String nombre, String p_apellido, String s_apellido, String f_inicio, String f_fin)
 {
     InitializeComponent();
     textBox1.Enabled = false;
     textBox2.Enabled = false;
     textBox3.Enabled = false;
     textBox4.Enabled = false;
     textBox5.Enabled = false;
     textBox6.Enabled = false;
     ejec             = exec;
     sda             = new NpgsqlDataAdapter();
     this.id         = id;
     this.nombre     = nombre;
     this.p_apellido = p_apellido;
     this.s_apellido = s_apellido;
     this.f_inicio   = f_inicio.Substring(0, 10);
     this.f_fin      = f_fin.Substring(0, 10);
     textBox1.Text   = id;
     textBox2.Text   = nombre;
     textBox3.Text   = p_apellido;
     textBox4.Text   = s_apellido;
     textBox5.Text   = this.f_inicio;
     textBox6.Text   = this.f_fin;
 }
示例#11
0
 public Log_in(Ejecutor exec)
 {
     InitializeComponent();
     ejec = exec;
 }
示例#12
0
 public inscripcion_socio(Ejecutor exec)
 {
     ejec = exec;
     InitializeComponent();
     Ver_Productos();
 }
示例#13
0
 public Ver_empleados(Ejecutor exec)
 {
     InitializeComponent();
     ejec = exec;
     sda  = new NpgsqlDataAdapter();
 }