FrmSaleBill_CustomerSearch.cs 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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 FrmSaleBill_CustomerSearch : ReportClass {
  17. public FrmSaleBill_CustomerSearch() {
  18. }
  19. public override string ResourceName {
  20. get {
  21. return "FrmSaleBill_CustomerSearch.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.FrmSaleBill_CustomerSearch.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. [Browsable(false)]
  79. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  80. public CrystalDecisions.CrystalReports.Engine.Section Section6 {
  81. get {
  82. return this.ReportDefinition.Sections[5];
  83. }
  84. }
  85. }
  86. [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
  87. public class CachedFrmSaleBill_CustomerSearch : Component, ICachedReport {
  88. public CachedFrmSaleBill_CustomerSearch() {
  89. }
  90. [Browsable(false)]
  91. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  92. public virtual bool IsCacheable {
  93. get {
  94. return true;
  95. }
  96. set {
  97. //
  98. }
  99. }
  100. [Browsable(false)]
  101. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  102. public virtual bool ShareDBLogonInfo {
  103. get {
  104. return false;
  105. }
  106. set {
  107. //
  108. }
  109. }
  110. [Browsable(false)]
  111. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  112. public virtual System.TimeSpan CacheTimeOut {
  113. get {
  114. return CachedReportConstants.DEFAULT_TIMEOUT;
  115. }
  116. set {
  117. //
  118. }
  119. }
  120. public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
  121. FrmSaleBill_CustomerSearch rpt = new FrmSaleBill_CustomerSearch();
  122. rpt.Site = this.Site;
  123. return rpt;
  124. }
  125. public virtual string GetCustomizedCacheKey(RequestContext request) {
  126. String key = null;
  127. // // The following is the code used to generate the default
  128. // // cache key for caching report jobs in the ASP.NET Cache.
  129. // // Feel free to modify this code to suit your needs.
  130. // // Returning key == null causes the default cache key to
  131. // // be generated.
  132. //
  133. // key = RequestContext.BuildCompleteCacheKey(
  134. // request,
  135. // null, // sReportFilename
  136. // this.GetType(),
  137. // this.ShareDBLogonInfo );
  138. return key;
  139. }
  140. }
  141. }