bao1.cs
上传用户:yiyuerguo
上传日期:2014-09-27
资源大小:3781k
文件大小:5k
源码类别:

C#编程

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.1.4322.573
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. namespace jiaowu {
  11.     using System;
  12.     using System.ComponentModel;
  13.     using CrystalDecisions.Shared;
  14.     using CrystalDecisions.ReportSource;
  15.     using CrystalDecisions.CrystalReports.Engine;
  16.     
  17.     
  18.     public class bao1 : ReportClass {
  19.         
  20.         public bao1() {
  21.         }
  22.         
  23.         public override string ResourceName {
  24.             get {
  25.                 return "bao1.rpt";
  26.             }
  27.             set {
  28.                 // Do nothing
  29.             }
  30.         }
  31.         
  32.         [Browsable(false)]
  33.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  34.         public CrystalDecisions.CrystalReports.Engine.Section Section1 {
  35.             get {
  36.                 return this.ReportDefinition.Sections[0];
  37.             }
  38.         }
  39.         
  40.         [Browsable(false)]
  41.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  42.         public CrystalDecisions.CrystalReports.Engine.Section Section2 {
  43.             get {
  44.                 return this.ReportDefinition.Sections[1];
  45.             }
  46.         }
  47.         
  48.         [Browsable(false)]
  49.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  50.         public CrystalDecisions.CrystalReports.Engine.Section GroupHeaderSection1 {
  51.             get {
  52.                 return this.ReportDefinition.Sections[2];
  53.             }
  54.         }
  55.         
  56.         [Browsable(false)]
  57.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  58.         public CrystalDecisions.CrystalReports.Engine.Section Section3 {
  59.             get {
  60.                 return this.ReportDefinition.Sections[3];
  61.             }
  62.         }
  63.         
  64.         [Browsable(false)]
  65.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  66.         public CrystalDecisions.CrystalReports.Engine.Section GroupFooterSection1 {
  67.             get {
  68.                 return this.ReportDefinition.Sections[4];
  69.             }
  70.         }
  71.         
  72.         [Browsable(false)]
  73.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  74.         public CrystalDecisions.CrystalReports.Engine.Section Section4 {
  75.             get {
  76.                 return this.ReportDefinition.Sections[5];
  77.             }
  78.         }
  79.         
  80.         [Browsable(false)]
  81.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  82.         public CrystalDecisions.CrystalReports.Engine.Section Section5 {
  83.             get {
  84.                 return this.ReportDefinition.Sections[6];
  85.             }
  86.         }
  87.     }
  88.     
  89.     [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
  90.     public class Cachedbao1 : Component, ICachedReport {
  91.         
  92.         public Cachedbao1() {
  93.         }
  94.         
  95.         [Browsable(false)]
  96.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  97.         public virtual bool IsCacheable {
  98.             get {
  99.                 return true;
  100.             }
  101.             set {
  102.                 // 
  103.             }
  104.         }
  105.         
  106.         [Browsable(false)]
  107.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  108.         public virtual bool ShareDBLogonInfo {
  109.             get {
  110.                 return false;
  111.             }
  112.             set {
  113.                 // 
  114.             }
  115.         }
  116.         
  117.         [Browsable(false)]
  118.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  119.         public virtual System.TimeSpan CacheTimeOut {
  120.             get {
  121.                 return CachedReportConstants.DEFAULT_TIMEOUT;
  122.             }
  123.             set {
  124.                 // 
  125.             }
  126.         }
  127.         
  128.         public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
  129.             bao1 rpt = new bao1();
  130.             rpt.Site = this.Site;
  131.             return rpt;
  132.         }
  133.         
  134.         public virtual string GetCustomizedCacheKey(RequestContext request) {
  135.             String key = null;
  136.             // // The following is the code used to generate the default
  137.             // // cache key for caching report jobs in the ASP.NET Cache.
  138.             // // Feel free to modify this code to suit your needs.
  139.             // // Returning key == null causes the default cache key to
  140.             // // be generated.
  141.             // 
  142.             // key = RequestContext.BuildCompleteCacheKey(
  143.             //     request,
  144.             //     null,       // sReportFilename
  145.             //     this.GetType(),
  146.             //     this.ShareDBLogonInfo );
  147.             return key;
  148.         }
  149.     }
  150. }