Beispiel #1
0
        public LiquidacionVoucher()
        {
            InitializeComponent();
            this.ControlBox        = false;
            this.Text              = "LISTA VOUCHER";
            this.StartPosition     = FormStartPosition.Manual;
            this.Location          = new Point(50, 20);
            liquidacionVoucherForm = this;
            DateTime d1, d2;

            d2 = DateTime.Now;
            d1 = new DateTime(d2.Year, d2.Month, 1);
            dpickerInicio.Value = d1;
            gridParams();
            //objVoucher = new Voucher();
            objVoucherDao = new VoucherDAO();

            objListVoucher         = objVoucherDao.listarVoucher(Ventas.UNIDADNEGOCIO, dpickerInicio.Value, dpickerFin.Value, "P");
            grd_Voucher.DataSource = objListVoucher;
            grd_Voucher.Refresh();
            grd_Voucher.CellClick += Grd_Voucher_CellClick;
        }
Beispiel #2
0
 public LiquidarVoucherFecha(String voucher)
 {
     InitializeComponent();
     NroVoucher      = voucher;
     formLiquidacion = LiquidacionVoucher.liquidacionVoucherForm;
 }