コード例 #1
0
ファイル: InitReport.cs プロジェクト: whuacn/belself-wang
        /// <summary>
        /// 新增报表
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        void tsmAddReport_Click(object sender, EventArgs e)
        {
            report = new FastReport.Report();
            RegReportData();
            frmReportDesign rp = new frmReportDesign(report, 0);

            rp.ReportGUID = rpGUID;
            rp.ShowDialog();
            report.Dispose();
            //ClearListData();
            CreateMenu();
        }
コード例 #2
0
ファイル: InitReport.cs プロジェクト: whuacn/belself-wang
 /// <summary>
 /// 设计报表
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void tsmDesginReport_Click(object sender, EventArgs e)
 {
     if (tsmChooseReport.HasDropDownItems)
     {
         report = new FastReport.Report();
         if (!report.IsDesigning)
         {
             GetData(tsmChooseDetail[iDefaultChecked].Name);
             report.Load(new MemoryStream(bt));
             RegReportData();
         }
         frmReportDesign rp = new frmReportDesign(report, Convert.ToInt32(tsmChooseDetail[iDefaultChecked].Name));
         rp.ReportGUID = rpGUID;
         rp.ShowDialog();
         report.Dispose();
         //刷新菜单
         CreateMenu();
     }
 }
コード例 #3
0
 /// <summary>
 /// 设计报表
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void tsmDesginReport_Click(object sender, EventArgs e)
 {
     if (tsmChooseReport.HasDropDownItems)
     {
         report = new FastReport.Report();
         if (!report.IsDesigning)
         {
             GetData(tsmChooseDetail[iDefaultChecked].Name);
             report.Load(new MemoryStream(bt));
             RegReportData();
         }
         frmReportDesign rp = new frmReportDesign(report, Convert.ToInt32(tsmChooseDetail[iDefaultChecked].Name));
         rp.ReportGUID = rpGUID;
         rp.ShowDialog();
         report.Dispose();
         //刷新菜单
         CreateMenu();
     }
 }
コード例 #4
0
 /// <summary>
 /// 新增报表
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void tsmAddReport_Click(object sender, EventArgs e)
 {
     report = new FastReport.Report();
     RegReportData();
     frmReportDesign rp = new frmReportDesign(report,0);
     rp.ReportGUID = rpGUID;
     rp.ShowDialog();
     report.Dispose();
     //ClearListData();
     CreateMenu();
 }