Exemplo n.º 1
0
        private void cxcmanconceptos_Load(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Registro de Concepto", this);
            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbitebis, "select iditbis,tasa  from gendbftasaitbis");

            array = new Control[] { Txtdescripcion, cmbitebis, TxtCodigo };
        }
Exemplo n.º 2
0
        private void cxcprodebcre_Load(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Registro de Nota DEB/CRE", this);
            Rbncredito.Checked   = true;
            Ckbncf.Checked       = true;
            BtnModificar.Visible = false;
            BtnCrear.Visible     = false;
            Txtcodigocliente.Focus();

            Dgv.Columns["dgvcheck"].Width = 25;

            Dgv.Columns["dgvsecuencia"].ReadOnly     = true;
            Dgv.Columns["dgvreferencia"].ReadOnly    = true;
            Dgv.Columns["dgvfecha"].ReadOnly         = true;
            Dgv.Columns["dgvvence"].ReadOnly         = true;
            Dgv.Columns["dgvdias"].ReadOnly          = true;
            Dgv.Columns["dgvtotal"].ReadOnly         = true;
            Dgv.Columns["dgvbalance"].ReadOnly       = true;
            Dgv.Columns["dgvsecuencia"].DisplayIndex = 1;

            Ckbimprimir.Checked = true;
            Txtregistro.Text    = FuncionesSQL.Fun_SQL_Buscar_UltimoNumReg("NOTA DE CREDITO CXC");

            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
        }
 private void cxcprocobroadelantado_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Cobro Adelantado", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
     Ckbimprimir.Checked = true;
     Crear();
 }
Exemplo n.º 4
0
 private void cxcconregistro_Load(object sender, EventArgs e)
 {
     dtpBase1.Select();
     Fun_Grid_Solo_Lectura();
     Fun_Set_Nombre_Formulario("Consulta de Cobro por Adelantado", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbBase1, "select idmoneda, abreviatura from gendbfmoneda");
 }
        private void cxcproreciboingreso_Load(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Registro de Ingresos", this);
            Rbnreciboingreso.Checked = true;
            BtnModificar.Visible     = false;
            BtnCrear.Visible         = false;
            Txtcodigocliente.Focus();

            CheckGrid();

            Dgv.Columns[""].Width = 25;

            Dgv.Columns["dgvsecuencia"].ReadOnly     = true;
            Dgv.Columns["dgvreferencia"].ReadOnly    = true;
            Dgv.Columns["dgvfecha"].ReadOnly         = true;
            Dgv.Columns["dgvvence"].ReadOnly         = true;
            Dgv.Columns["dgvdias"].ReadOnly          = true;
            Dgv.Columns["dgvtotal"].ReadOnly         = true;
            Dgv.Columns["dgvbalance"].ReadOnly       = true;
            Dgv.Columns["dgvbalancefinal"].ReadOnly  = true;
            Dgv.Columns["dgvsecuencia"].DisplayIndex = 1;

            Ckbimprimir.Checked = true;

            Txtcobro.Text = FuncionesSQL.Fun_SQL_Buscar_UltimoNumReg("COBRO");

            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
            //tasamoneda= FuncionesSQL.Fun_SQL_Buscar_Tasa_Moneda(Funciones.Fun_Convierte_String_aEntrero(Cmbmoneda.SelectedValue.ToString()));
        }
Exemplo n.º 6
0
        private void cxcprochequefuturo_Load(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Registro de Cheque Futuro", this);
            BtnModificar.Visible = false;
            BtnCrear.Visible     = false;
            Txtcodigocliente.Focus();

            CheckGrid();

            Dgv.Columns[""].Width = 25;

            Dgv.Columns["dgvsecuencia"].ReadOnly     = true;
            Dgv.Columns["dgvreferencia"].ReadOnly    = true;
            Dgv.Columns["dgvfecha"].ReadOnly         = true;
            Dgv.Columns["dgvvence"].ReadOnly         = true;
            Dgv.Columns["dgvdias"].ReadOnly          = true;
            Dgv.Columns["dgvbalance"].ReadOnly       = true;
            Dgv.Columns["dgvsecuencia"].DisplayIndex = 1;

            Ckbimprimir.Checked  = true;
            Txtchequefuturo.Text = FuncionesSQL.Fun_SQL_Buscar_UltimoNumReg("CHEQUE FUTURO");

            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbbanco, "select idbanco, descripcion from bandbfbanco");
            Crear();
        }
 private void cxcconregistro_Load(object sender, EventArgs e)
 {
     dtpBase1.Select();
     Fun_Grid_Solo_Lectura();
     Fun_Set_Nombre_Formulario("Consulta de Recibo de Ingreso", this);
     Rbnreciboingreso.Checked = true;
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbBase1, "select idmoneda, abreviatura from gendbfmoneda");
 }
 private void mantenimientoVMenu_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Registro de Conceptos", this);
     this.BackColor      = Color.FromArgb(235, 242, 251);
     FormTitle.ForeColor = Color.White;
     EnableButtons(true);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbitbis, "select iditbis,tasa  from gendbftasaitbis");
     array = new Control[] { TxtDescripcion, cmbitbis };
 }
        private void cxcrepnotasdebito_credito_Load(object sender, EventArgs e)
        {
            ckbcredito.Checked = true;

            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmoneda, "select idmoneda,abreviatura  from gendbfmoneda");


            Fun_Set_Nombre_Formulario("Listado de Notas de Débito/Crédito(CXC)", this);
        }
Exemplo n.º 10
0
 private void cxcrepregistro_Load_1(object sender, EventArgs e)
 {
     Dtpfechainicial.Select();
     Fun_Set_Nombre_Formulario("Registro de Factura", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmoneda, "select idmoneda,abreviatura  from gendbfmoneda");
     frm.cambia_size += new controlNCF.Size_Form(Fun_Cambiar_Size);
     InvocarFormulario(frm, panel1);
     frm.inicio();
 }
Exemplo n.º 11
0
        private void cxcprocobroadelantado_Load(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Otro Ingreso", this);

            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
            FuncionesSQL.Fun_Sql_Autocompletar_Texto(Txtnombrecliente, "select beneficiario from cxcdbfotro_ingreso");

            Ckbimprimir.Checked = true;
            Crear();
        }
Exemplo n.º 12
0
        private void cxcprochequedevuelto_Load(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Cheque Devuelto", this);

            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbbanco, "select idbanco, descripcion from bandbfbanco");

            Ckbimprimir.Checked = true;
            Crear();
        }
Exemplo n.º 13
0
        private void cxcrepchequesfuturos_Load(object sender, EventArgs e)

        {
            Fun_Set_Nombre_Formulario("Listado de Cheques Futuristas", this);
            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbBancos, "select idbanco,descripcion  from bandbfbanco");

            this.Dtpdepoinicial.Format       = DateTimePickerFormat.Custom;
            this.Dtpdepoinicial.CustomFormat = " ";
            this.Dtpdepfinal.Format          = DateTimePickerFormat.Custom;
            this.Dtpdepfinal.CustomFormat    = " ";
        }
Exemplo n.º 14
0
        private void cxcmancliente_Load(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Registro de Cliente", this);
            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbNCF, "select idncf,codigo +' '+descripcion  codigo from gendbfncf WHERE codigo=01 OR codigo=02 OR codigo = 14 OR codigo = 15 ");
            Txtdireccioncliente.BackColor = Color.White;
            txtExtracredito.BackColor     = Color.White;
            tabCrtBase1.TabPages.Remove(Tabestadisticas);

            array             = new Control[] { TxtCodigoregion, btnBuscar1, Txtdireccioncliente, Txtcrnc_edulacliente, Txtnombrecliente, TxtCodigociudad, btnBuscarciudad, TxtCodigomunicipio, btnBuscar2, TxtCodigosector, btnBuscarsector, TxtCodigotipocliente, btnBuscartipocliente, TxtCodigoruta, btnBuscarruta, Txttelefonocliente, Txtcelularcliente, txtfaxcliente, Txtreferenciacliente, Txtrepresentantecliente, Txtemailcliente, cmbNCF, listcomentarios, txtExtracredito, btnBuscarcondicion, Txtlimitedecreditocliente, cmbtipoprecio, Txtcondicion, listBoxalerta, gribbalance };
            MainPanel.Visible = false;
        }
Exemplo n.º 15
0
 private void RepoVMenu_Load(object sender, EventArgs e)
 {
     lsbBase1.SelectedIndex = 0;
     listBox1.SelectedIndex = 0;
     Dtpfechainicial.Select();
     Fun_Set_Nombre_Formulario("Registro de Factura", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmoneda, "select idmoneda,abreviatura  from gendbfmoneda");
     Fun_Grid_Solo_Lectura();
     Seleccionar_Grid();
     Fun_Llena_NCF();
     inicio();
 }
Exemplo n.º 16
0
        private void _procVMenu_Load(object sender, EventArgs e)
        {
            //Inicializa el menu principal
            BtnSalvar.Visible = false;
            //Mostrar solo registros activos
            _ActivateParameter = "=";

            LblAlerta.Text = LblFunctionName.Text = "";

            Fun_Set_Nombre_Formulario("Registro de Factura", this);
            mainPanel.Visible = false;
            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
            Ckbimprimir.Checked = true;
        }
Exemplo n.º 17
0
 private void cxcconregistro_Load(object sender, EventArgs e)
 {
     dtpBase1.Select();
     Txtcantidadregistros.TextAlign = HorizontalAlignment.Left;
     LblFunctionName.BringToFront();
     SetVisible(true);
     LblFunctionName.Text      = "";
     LblFunctionName.ForeColor = Color.White;
     LblFunctionName.BackColor = Color.MidnightBlue;
     Fun_Grid_Solo_Lectura();
     Fun_Set_Nombre_Formulario("Consulta de Factura", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbBase1, "select idmoneda, abreviatura from gendbfmoneda");
     MainGrid.Rows.Add("112-01-04", "CXC US", "236.00", "0.00");
     MainGrid.Rows.Add("112-01-05", "PRIMA CXC ", "10,384.00", "0.00");
     MainGrid.Rows.Add("112-01-02", "CAJA CHICA", "0.00", "1,620.00");
     MainGrid.Rows.Add("411", "INGRESOS POR VENTAS CREDITO", "0.00", "9,000.00");
 }
Exemplo n.º 18
0
 private void cxcrepreciboingreso_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Listado de cobros de Factura", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmonedas, "select idmoneda,abreviatura  from gendbfmoneda");
 }
 private void cxcrephistoricodepagos_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Histórico Dias de Pago", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmoneda, "select idmoneda,abreviatura  from gendbfmoneda");
 }
Exemplo n.º 20
0
 private void cxcpreotroingreso_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Consulta de Otro Ingreso", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
 }
Exemplo n.º 21
0
 private void cxcpredebcre_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Consulta de Nota de Débito/Crédito", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
 }
 private void cxcrepchequesdevuelto_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Listado de Cheques devueltos", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmoneda, "select idmoneda,abreviatura  from gendbfmoneda");
 }
 private void cxcrepcobrosporadelantado_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Listado de Cobros por Adelantado", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmoneda, "select idmoneda,abreviatura  from gendbfmoneda");
 }
Exemplo n.º 24
0
 private void cxcprechequefuturo_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Consulta de Cheque Futuro", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbbanco, "select idbanco, descripcion from bandbfbanco");
 }
        //protected override void agregaritems()
        //{
        //    base.agregaritems();
        //    Lsbformato.Items.Add("1->Cuentas por Cobrar");
        //    Lsbformato.Items.Add("2->Antiguedad de Saldos ");
        //    Lsbformato.Items.Add("3->Resumida por Clientes");
        //    Lsbformato.Items.Add("4->Conduce de Cobro");
        //    Lsbformato.Items.Add("5->Ultimo Pago");
        //    Lsbformato.SetSelected(0, true);
        //}

        private void cxcrepbalanceaunafecha_Load_1(object sender, EventArgs e)
        {
            Fun_Set_Nombre_Formulario("Balance a una Fecha", this);
            FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(cmbmoneda, "select idmoneda,abreviatura  from gendbfmoneda");
        }
Exemplo n.º 26
0
 private void Dateprocesoprueba_Load(object sender, EventArgs e)
 {
     Fun_Set_Nombre_Formulario("Proceso estudiante ", this);
     FuncionesSQL.Fun_SQL_Completar_ComboboxTexto(Cmbmoneda, "select idmoneda, abreviatura from gendbfmoneda");
     Crear();
 }