예제 #1
0
        private void llenar_formulario(string cod_bar, string producto, string det_prod, double cant_total, DateTime fecha_vencimiento, string lote, string laboratorio, string composicion, int id_presentacion)
        {
            presentacionModel.MostrarCombobox(cbxPresentacion);

            txtCodBarra.Text              = cod_bar;
            txtProducto.Text              = producto;
            txtDetalle.Text               = det_prod;
            txtCantidad.Text              = cant_total.ToString();
            dtpVencimiento.Value          = fecha_vencimiento;
            txtLote.Text                  = lote;
            txtLaboratorio.Text           = laboratorio;
            txtComposicion.Text           = composicion;
            cbxPresentacion.SelectedValue = id_presentacion;
        }
예제 #2
0
 private void FProductoCrear_Load(object sender, EventArgs e)
 {
     presentacionModel.MostrarCombobox(cbxPresentacion);
 }