Example #1
0
        private void btnPrintOrder_Click(object sender, System.EventArgs e)
        {
            PEMR_PrintOrder_UC printOrder = new PEMR_PrintOrder_UC();

            PopupBaseForm.ShowAsPopup(printOrder, this);
            ActiveReport.CreateDocument();
            ActiveReport.Initialize(PEMRBusinessLogic.ActivePEMRObject);
            documentViewer1.DocumentSource = ActiveReport;
        }