/Reports/InventoryLogIn.cs

http://github.com/khaneh/Orders · C# · 143 lines · 101 code · 18 blank · 24 comment · 0 complexity · 08ad706b43b907c9d1bb8c1eab8a2f84 MD5 · raw file

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. // This code was generated by a tool.
  4. // Runtime Version: 1.0.3705.0
  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 Reports {
  11. using System;
  12. using System.ComponentModel;
  13. using CrystalDecisions.Shared;
  14. using CrystalDecisions.ReportSource;
  15. using CrystalDecisions.CrystalReports.Engine;
  16. public class InventoryLogIn : ReportClass {
  17. public InventoryLogIn() {
  18. }
  19. public override string ResourceName {
  20. get {
  21. return "InventoryLogIn.rpt";
  22. }
  23. set {
  24. // Do nothing
  25. }
  26. }
  27. [Browsable(false)]
  28. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  29. public CrystalDecisions.CrystalReports.Engine.Section ReportHeaderSection1 {
  30. get {
  31. return this.ReportDefinition.Sections[0];
  32. }
  33. }
  34. [Browsable(false)]
  35. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  36. public CrystalDecisions.CrystalReports.Engine.Section PageHeaderSection1 {
  37. get {
  38. return this.ReportDefinition.Sections[1];
  39. }
  40. }
  41. [Browsable(false)]
  42. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  43. public CrystalDecisions.CrystalReports.Engine.Section DetailSection1 {
  44. get {
  45. return this.ReportDefinition.Sections[2];
  46. }
  47. }
  48. [Browsable(false)]
  49. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  50. public CrystalDecisions.CrystalReports.Engine.Section ReportFooterSection1 {
  51. get {
  52. return this.ReportDefinition.Sections[3];
  53. }
  54. }
  55. [Browsable(false)]
  56. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  57. public CrystalDecisions.CrystalReports.Engine.Section PageFooterSection1 {
  58. get {
  59. return this.ReportDefinition.Sections[4];
  60. }
  61. }
  62. [Browsable(false)]
  63. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  64. public CrystalDecisions.Shared.IParameterField Parameter_LogItem_ID {
  65. get {
  66. return this.DataDefinition.ParameterFields[0];
  67. }
  68. }
  69. }
  70. [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
  71. public class CachedInventoryLogIn : Component, ICachedReport {
  72. public CachedInventoryLogIn() {
  73. }
  74. [Browsable(false)]
  75. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  76. public virtual bool IsCacheable {
  77. get {
  78. return true;
  79. }
  80. set {
  81. //
  82. }
  83. }
  84. [Browsable(false)]
  85. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  86. public virtual bool ShareDBLogonInfo {
  87. get {
  88. return false;
  89. }
  90. set {
  91. //
  92. }
  93. }
  94. [Browsable(false)]
  95. [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  96. public virtual System.TimeSpan CacheTimeOut {
  97. get {
  98. return CachedReportConstants.DEFAULT_TIMEOUT;
  99. }
  100. set {
  101. //
  102. }
  103. }
  104. public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
  105. InventoryLogIn rpt = new InventoryLogIn();
  106. rpt.Site = this.Site;
  107. return rpt;
  108. }
  109. public virtual string GetCustomizedCacheKey(RequestContext request) {
  110. String key = null;
  111. // // The following is the code used to generate the default
  112. // // cache key for caching report jobs in the ASP.NET Cache.
  113. // // Feel free to modify this code to suit your needs.
  114. // // Returning key == null causes the default cache key to
  115. // // be generated.
  116. //
  117. // key = RequestContext.BuildCompleteCacheKey(
  118. // request,
  119. // null, // sReportFilename
  120. // this.GetType(),
  121. // this.ShareDBLogonInfo );
  122. return key;
  123. }
  124. }
  125. }