Ejemplo n.º 1
0
        private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var array = new Guid[1];

            array[0] = AAct.OrdenDeTrabajoID;
            XtraReport cierreReport = new CierreOtXtraReport(array);

            //cierreReport.CreateDocument();
            Utils.PrintReport(cierreReport, 1);
        }
Ejemplo n.º 2
0
        private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            var array = new Guid[1];

            array[0] = AAct.OrdenDeTrabajoID;
            XtraReport cierreReport = new CierreOtXtraReport(array);

            cierreReport.CreateDocument();
            cierreReport.ShowRibbonPreviewDialog();
        }