FrmInventoryChange.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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 FrmInventoryChange : ReportClass {
  17. public FrmInventoryChange() {
  18. }
  19. public override string ResourceName {
  20. get {
  21. return "FrmInventoryChange.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.FrmInventoryChange.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 Section6 {
  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 Section4 {
  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 Section5 {
  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 Section7 {
  88. get {
  89. return this.ReportDefinition.Sections[6];
  90. }
  91. }
  92. }
  93. [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
  94. public class CachedFrmInventoryChange : Component, ICachedReport {
  95. public CachedFrmInventoryChange() {
  96. }
  97. [Browsable(false)]
  98. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  99. public virtual bool IsCacheable {
  100. get {
  101. return true;
  102. }
  103. set {
  104. //
  105. }
  106. }
  107. [Browsable(false)]
  108. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  109. public virtual bool ShareDBLogonInfo {
  110. get {
  111. return false;
  112. }
  113. set {
  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. public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
  128. FrmInventoryChange rpt = new FrmInventoryChange();
  129. rpt.Site = this.Site;
  130. return rpt;
  131. }
  132. public virtual string GetCustomizedCacheKey(RequestContext request) {
  133. String key = null;
  134. // // The following is the code used to generate the default
  135. // // cache key for caching report jobs in the ASP.NET Cache.
  136. // // Feel free to modify this code to suit your needs.
  137. // // Returning key == null causes the default cache key to
  138. // // be generated.
  139. //
  140. // key = RequestContext.BuildCompleteCacheKey(
  141. // request,
  142. // null, // sReportFilename
  143. // this.GetType(),
  144. // this.ShareDBLogonInfo );
  145. return key;
  146. }
  147. }
  148. }