FrmSaleContract.cs 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  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 FrmSaleContract : ReportClass {
  17. public FrmSaleContract() {
  18. }
  19. public override string ResourceName {
  20. get {
  21. return "FrmSaleContract.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.FrmSaleContract.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 Section16 {
  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 Section8 {
  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 Section9 {
  81. get {
  82. return this.ReportDefinition.Sections[5];
  83. }
  84. }
  85. [Browsable(false)]
  86. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  87. public CrystalDecisions.CrystalReports.Engine.Section Section11 {
  88. get {
  89. return this.ReportDefinition.Sections[6];
  90. }
  91. }
  92. [Browsable(false)]
  93. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  94. public CrystalDecisions.CrystalReports.Engine.Section Section13 {
  95. get {
  96. return this.ReportDefinition.Sections[7];
  97. }
  98. }
  99. [Browsable(false)]
  100. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  101. public CrystalDecisions.CrystalReports.Engine.Section Section3 {
  102. get {
  103. return this.ReportDefinition.Sections[8];
  104. }
  105. }
  106. [Browsable(false)]
  107. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  108. public CrystalDecisions.CrystalReports.Engine.Section Section14 {
  109. get {
  110. return this.ReportDefinition.Sections[9];
  111. }
  112. }
  113. [Browsable(false)]
  114. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  115. public CrystalDecisions.CrystalReports.Engine.Section Section12 {
  116. get {
  117. return this.ReportDefinition.Sections[10];
  118. }
  119. }
  120. [Browsable(false)]
  121. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  122. public CrystalDecisions.CrystalReports.Engine.Section Section10 {
  123. get {
  124. return this.ReportDefinition.Sections[11];
  125. }
  126. }
  127. [Browsable(false)]
  128. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  129. public CrystalDecisions.CrystalReports.Engine.Section Section7 {
  130. get {
  131. return this.ReportDefinition.Sections[12];
  132. }
  133. }
  134. [Browsable(false)]
  135. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  136. public CrystalDecisions.CrystalReports.Engine.Section Section4 {
  137. get {
  138. return this.ReportDefinition.Sections[13];
  139. }
  140. }
  141. [Browsable(false)]
  142. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  143. public CrystalDecisions.CrystalReports.Engine.Section Section6 {
  144. get {
  145. return this.ReportDefinition.Sections[14];
  146. }
  147. }
  148. }
  149. [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
  150. public class CachedFrmSaleContract : Component, ICachedReport {
  151. public CachedFrmSaleContract() {
  152. }
  153. [Browsable(false)]
  154. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  155. public virtual bool IsCacheable {
  156. get {
  157. return true;
  158. }
  159. set {
  160. //
  161. }
  162. }
  163. [Browsable(false)]
  164. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  165. public virtual bool ShareDBLogonInfo {
  166. get {
  167. return false;
  168. }
  169. set {
  170. //
  171. }
  172. }
  173. [Browsable(false)]
  174. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  175. public virtual System.TimeSpan CacheTimeOut {
  176. get {
  177. return CachedReportConstants.DEFAULT_TIMEOUT;
  178. }
  179. set {
  180. //
  181. }
  182. }
  183. public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
  184. FrmSaleContract rpt = new FrmSaleContract();
  185. rpt.Site = this.Site;
  186. return rpt;
  187. }
  188. public virtual string GetCustomizedCacheKey(RequestContext request) {
  189. String key = null;
  190. // // The following is the code used to generate the default
  191. // // cache key for caching report jobs in the ASP.NET Cache.
  192. // // Feel free to modify this code to suit your needs.
  193. // // Returning key == null causes the default cache key to
  194. // // be generated.
  195. //
  196. // key = RequestContext.BuildCompleteCacheKey(
  197. // request,
  198. // null, // sReportFilename
  199. // this.GetType(),
  200. // this.ShareDBLogonInfo );
  201. return key;
  202. }
  203. }
  204. }