Esempio n. 1
0
 // Desain Laporan
 private void barButtonItem9_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     using (new WaitCursor())
     {
         if (RptDesigner == null || RptDesigner.IsDisposed)
         {
             RptDesigner = new frmReportLayout();
             RptDesigner.ShowForm2(MdiParent, _ReportName, pivotGridControl1.DataSource, _Evaluator);
         }
         else
         {
             RptDesigner.BringToFront();
         }
     }
 }
Esempio n. 2
0
 // Dari Laporan Daftar
 public void ShowForm2(string ReportName,
                       object DataSource, Evaluator Evaluator)
 {
     if (BaseWinFramework.mdiRibbonControl != null)
     {
         frmReportLayout frm = new frmReportLayout();
         frm.ShowForm2(BaseWinFramework._MdiParent,
                       ReportName, DataSource, Evaluator);
         CurrentForm = frm;
     }
     else
     {
         frmReportLayout2 frm = new frmReportLayout2();
         frm.ShowForm2(BaseWinFramework._MdiParent,
                       ReportName, DataSource, Evaluator);
         CurrentForm = frm;
     }
 }