コード例 #1
0
ファイル: frmFacturacion.cs プロジェクト: geor8jl/Resume-CV
        private void CargarDatos()
        {
            IBLLEncFactura _BLLFactura = new BLLEncFactura();


            // Configuracion del DataGridView para que se vea bien la imagen.
            dgvDetalleFactura.AutoGenerateColumns = false;


            this.txtNumeroFactura.Text = _BLLFactura.GetNextNumeroFactura().ToString();

            this.cmbEstado.SelectedIndex = 0;
        }
コード例 #2
0
ファイル: frmFacturacion.cs プロジェクト: geor8jl/Resume-CV
        private void toolStripBtnNuevo_Click(object sender, EventArgs e)
        {
            IBLLEncFactura _BLLFactura = new BLLEncFactura();

            this.txtNumeroFactura.Text = _BLLFactura.GetNextNumeroFactura().ToString();

            this.txtNumeroTarjeta.Text    = "";
            this.txtNumHabitacion.Text    = "";
            this.txtNUMDetalle.Text       = "1";
            this.txtImpuesto.Text         = "";
            this.txtIdHuesped.Text        = "";
            this.txtCantDias.Text         = "";
            this.txtPrecio.Text           = "";
            this.txtSubtotal.Text         = "";
            this.txtTotal.Text            = "";
            this.cmbEstado.SelectedIndex  = 0;
            this.cmbTarjeta.SelectedIndex = 0;
            this.Subtotal.Text            = "";
            this.mskIDReserva.Text        = "";
            this.dgvDetalleFactura.Rows.Clear();
            this.dgvDetalleFactura.Refresh();
        }