示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.BD_AgregarRol(textBox1);
            n.BD_Roles(dataGridView1, this);
        }
示例#2
0
        //boton para agregar usaurios
        private void button2_Click_1(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.BD_AgregarOperador(txtNombre, txtApellido, txtEdad, txtDomicilio, txtTelefono,
                                 txtMovil, txtCorreo, txtNEmpleado, txtUsuario, txtpassword, cbRol);
        }
示例#3
0
        public Caja()
        {
            InitializeComponent();
            funciones barra = new funciones();

            barra.AgregarMenu(panel1, new Barra());
        }
示例#4
0
        public agregarRol()
        {
            InitializeComponent();
            funciones n = new funciones();

            n.BD_Roles(dataGridView1, this);
        }
示例#5
0
        public Dispositivo()
        {
            InitializeComponent();
            funciones n = new funciones();

            //agregando barra personalizada
            n.AgregarMenu(panel1, new Barra());
        }
示例#6
0
        public AgregarUsuario()
        {
            InitializeComponent();
            funciones n = new funciones();

            //agregando barra personalizada
            n.AgregarMenu(panel1, new Barra());
            n.BD_mostrarRoles(cbRol, this);
        }
示例#7
0
        public ControlCamara()
        {
            InitializeComponent();

            funciones n = new funciones();

            //agregando barra personalizada
            n.AgregarMenu(panel1, new Barra());
        }
示例#8
0
        public Clientes()
        {
            InitializeComponent();
            funciones n = new funciones();

            //agregando barra personalizada
            n.AgregarMenu(panel1, new Barra());
            //cargando datos de la bd, se muestra tabla clientes
            n.BD_mostrarClientes(dataGridView1, this);
        }
示例#9
0
        public Almacen()
        {
            InitializeComponent();
            funciones n = new funciones();

            //agregando barra personalizada
            n.AgregarMenu(panel1, new Barra());
            //cargando datos de la bd, se muestra tabla de usuarios
            n.BD_mostrarDispositivos(dataGridView1, this);
        }
示例#10
0
        public ModificarUsuario()
        {
            InitializeComponent();

            funciones n = new funciones();

            //agregando barra personalizada
            n.AgregarMenu(panel1, new Barra());
            /*Adaptando ell tamaño de form al de la pantalla*/
            n.BD_mostrarRoles(cbRol, this);
        }
示例#11
0
        private void button4_Click(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.VentanaPanel(this);
        }
示例#12
0
        //boton para regresar
        private void button1_Click_1(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.VentanaRH(this);
        }
示例#13
0
        private void button8_Click(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.VentanaDispositivo(this);
        }
示例#14
0
        private void button3_Click(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.CerrarSesion(this);
        }
示例#15
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.CerrarPrograma(this);
        }
示例#16
0
        private void button3_Click(object sender, EventArgs e)
        {
            funciones n = new funciones();

            n.VentanaControlCamara(this);
        }