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