FrmCompany.cs 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. namespace Reports {
  11. using System;
  12. using System.ComponentModel;
  13. using CrystalDecisions.Shared;
  14. using CrystalDecisions.ReportSource;
  15. using CrystalDecisions.CrystalReports.Engine;
  16. public class FrmCompany : ReportClass {
  17. public FrmCompany() {
  18. }
  19. public override string ResourceName {
  20. get {
  21. return "FrmCompany.rpt";
  22. }
  23. set {
  24. // Do nothing
  25. }
  26. }
  27. public override bool NewGenerator {
  28. get {
  29. return true;
  30. }
  31. set {
  32. // Do nothing
  33. }
  34. }
  35. public override string FullResourceName {
  36. get {
  37. return "Reports.FrmCompany.rpt";
  38. }
  39. set {
  40. // Do nothing
  41. }
  42. }
  43. [Browsable(false)]
  44. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  45. public CrystalDecisions.CrystalReports.Engine.Section Section1 {
  46. get {
  47. return this.ReportDefinition.Sections[0];
  48. }
  49. }
  50. [Browsable(false)]
  51. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  52. public CrystalDecisions.CrystalReports.Engine.Section Section2 {
  53. get {
  54. return this.ReportDefinition.Sections[1];
  55. }
  56. }
  57. [Browsable(false)]
  58. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  59. public CrystalDecisions.CrystalReports.Engine.Section Section3 {
  60. get {
  61. return this.ReportDefinition.Sections[2];
  62. }
  63. }
  64. [Browsable(false)]
  65. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  66. public CrystalDecisions.CrystalReports.Engine.Section Section4 {
  67. get {
  68. return this.ReportDefinition.Sections[3];
  69. }
  70. }
  71. [Browsable(false)]
  72. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  73. public CrystalDecisions.CrystalReports.Engine.Section Section5 {
  74. get {
  75. return this.ReportDefinition.Sections[4];
  76. }
  77. }
  78. }
  79. [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
  80. public class CachedFrmCompany : Component, ICachedReport {
  81. public CachedFrmCompany() {
  82. }
  83. [Browsable(false)]
  84. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  85. public virtual bool IsCacheable {
  86. get {
  87. return true;
  88. }
  89. set {
  90. //
  91. }
  92. }
  93. [Browsable(false)]
  94. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  95. public virtual bool ShareDBLogonInfo {
  96. get {
  97. return false;
  98. }
  99. set {
  100. //
  101. }
  102. }
  103. [Browsable(false)]
  104. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  105. public virtual System.TimeSpan CacheTimeOut {
  106. get {
  107. return CachedReportConstants.DEFAULT_TIMEOUT;
  108. }
  109. set {
  110. //
  111. }
  112. }
  113. public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
  114. FrmCompany rpt = new FrmCompany();
  115. rpt.Site = this.Site;
  116. return rpt;
  117. }
  118. public virtual string GetCustomizedCacheKey(RequestContext request) {
  119. String key = null;
  120. // // The following is the code used to generate the default
  121. // // cache key for caching report jobs in the ASP.NET Cache.
  122. // // Feel free to modify this code to suit your needs.
  123. // // Returning key == null causes the default cache key to
  124. // // be generated.
  125. //
  126. // key = RequestContext.BuildCompleteCacheKey(
  127. // request,
  128. // null, // sReportFilename
  129. // this.GetType(),
  130. // this.ShareDBLogonInfo );
  131. return key;
  132. }
  133. }
  134. }