public FrmCobroDocumentos() { InitializeComponent(); fun = new cFunciones(); tabla = new cTabla(); txtFecha.Text = DateTime.Now.ToShortDateString(); }
private void FrmCobroCheque_Load(object sender, EventArgs e) { fun = new cFunciones(); tabla = new cTabla(); if (frmPrincipal.CodigoPrincipal != null) { Buscar(Convert.ToInt32(frmPrincipal.CodigoPrincipal)); } }
private void FrmListadoGastosGenerales_Load(object sender, EventArgs e) { fun = new cFunciones(); tabla = new cTabla(); DateTime fechahoy = DateTime.Now; txtFechaHasta.Text = fechahoy.ToShortDateString(); fechahoy = fechahoy.AddMonths(-1); txtFechaDesde.Text = fechahoy.ToShortDateString(); }
private void FrmRegistrarVale_Load(object sender, EventArgs e) { fun = new cFunciones(); tabla = new cTabla(); txtFecha.Text = DateTime.Now.ToShortDateString(); if (frmPrincipal.CodVale != null) { BuscarVale(Convert.ToInt32(frmPrincipal.CodVale)); } }
private void FrmCompraInsumo_Load(object sender, EventArgs e) { txtFecha.Text = DateTime.Now.ToShortDateString(); tabla = new cTabla(); fun = new cFunciones(); string Columnas = "CodInsumo;Nombre;Cantidad;CantidadTotal;Precio;PrecioVenta"; tbInsumos = tabla.CrearTabla(Columnas); fun.LlenarCombo(CmbProveedor, "Proveedor", "Nombre", "CodProveedor"); txtFecha.Text = DateTime.Now.ToShortDateString(); }
private void FrmListadoTarjeta_Load(object sender, EventArgs e) { fun = new cFunciones(); tabla = new cTabla(); fun = new cFunciones(); DateTime fecha = DateTime.Now; txtFechaHasta.Text = fecha.ToShortDateString(); fecha = fecha.AddMonths(-1); txtFechaDesde.Text = fecha.ToShortDateString(); }
private void FrmVenta_Load(object sender, EventArgs e) { fun = new cFunciones(); tabla = new cTabla(); tbVenta = new DataTable(); string col = "CodInsumo;Nombre;Cantidad;Precio;Subtotal;Costo"; tbVenta = tabla.CrearTabla(col); string ColCheques = "NroCheque;Fecha;Importe"; tbCheques = tabla.CrearTabla(ColCheques); txtFechaAltaOrden.Text = DateTime.Now.ToShortDateString(); txtFechaCheque.Text = txtFechaAltaOrden.Text; txtFechaEmisionTarjeta.Text = txtFechaCheque.Text; string ColTarjetas = "CodTarjeta;Nombre;Cupon;Importe;CodCobro;FechaEmision;Recargo"; tbTarjeta = tabla.CrearTabla(ColTarjetas); fun.LlenarCombo(CmbTarjeta, "Tarjeta", "Nombre", "CodTarjeta"); fun.LlenarCombo(cmbTipoDoc, "tipodocumento", "Nombre", "CodTipoDoc"); if (Principal.CodigoPrincipalAbm != null) { BuscarVenta(Convert.ToInt32(Principal.CodigoPrincipalAbm)); } }
private void FrmBuscarInsumo_Load(object sender, EventArgs e) { fun = new cFunciones(); tabla = new cTabla(); }