示例#1
0
        public ReporteVoucher()
        {
            InitializeComponent();
            formReporteCheques = this;
            this.ControlBox    = false;
            this.Text          = "Reporte de Voucher";
            this.StartPosition = FormStartPosition.Manual;
            this.Location      = new Point(50, 10);
            objVoucherDAO      = new VoucherDAO();
            objMonedaDao       = new MonedaDAO();
            DateTime d1, d2, d11, d22;

            d2  = DateTime.Now;
            d22 = DateTime.Now;
            d11 = new DateTime(d22.Year, d22.Month, 1);
            d1  = new DateTime(d2.Year, d2.Month, 1);
            dpickerInicio.Value  = d1;
            dpickerInicio1.Value = d11;
            gridParams2();
            gridParams();
            gridParams3();
            gridParams4();
            cmbMoneda();
            dgv_cobranza.DataSource = null;
            grd_Voucher.DataSource  = null;
            dgv_personal.DataSource = null;
            //grd_Voucher.DataSource = objListVoucher;
            grd_Voucher.Refresh();
            dgv_cobranza.Refresh();
            dgv_personal.Refresh();
            llenarSumatorias();
        }
示例#2
0
 private void ReporteChequesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     reporteChequesToolStripMenuItem.Enabled = false;
     Reporte.ReporteVoucher Check = new Reporte.ReporteVoucher();
     Check.Show();
 }