⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cry.designer.cs

📁 c#实现对水晶报表的开发和调用实例。对初学者有着很好的帮助。
💻 CS
📖 第 1 页 / 共 4 页
字号:
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal CourseInfoDataTable(System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected CourseInfoDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn courseinfoidColumn {
                get {
                    return this.columncourseinfoid;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn coursenameColumn {
                get {
                    return this.columncoursename;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn jobtablenameColumn {
                get {
                    return this.columnjobtablename;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn checktablenameColumn {
                get {
                    return this.columnchecktablename;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn uploadtypeColumn {
                get {
                    return this.columnuploadtype;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn uploadbyteColumn {
                get {
                    return this.columnuploadbyte;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn commentColumn {
                get {
                    return this.columncomment;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn activeColumn {
                get {
                    return this.columnactive;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public CourseInfoRow this[int index] {
                get {
                    return ((CourseInfoRow)(this.Rows[index]));
                }
            }
            
            public event CourseInfoRowChangeEventHandler CourseInfoRowChanging;
            
            public event CourseInfoRowChangeEventHandler CourseInfoRowChanged;
            
            public event CourseInfoRowChangeEventHandler CourseInfoRowDeleting;
            
            public event CourseInfoRowChangeEventHandler CourseInfoRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddCourseInfoRow(CourseInfoRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public CourseInfoRow AddCourseInfoRow(string courseinfoid, string coursename, string jobtablename, string checktablename, string uploadtype, int uploadbyte, string comment, bool active) {
                CourseInfoRow rowCourseInfoRow = ((CourseInfoRow)(this.NewRow()));
                rowCourseInfoRow.ItemArray = new object[] {
                        courseinfoid,
                        coursename,
                        jobtablename,
                        checktablename,
                        uploadtype,
                        uploadbyte,
                        comment,
                        active};
                this.Rows.Add(rowCourseInfoRow);
                return rowCourseInfoRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                CourseInfoDataTable cln = ((CourseInfoDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new CourseInfoDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columncourseinfoid = base.Columns["courseinfoid"];
                this.columncoursename = base.Columns["coursename"];
                this.columnjobtablename = base.Columns["jobtablename"];
                this.columnchecktablename = base.Columns["checktablename"];
                this.columnuploadtype = base.Columns["uploadtype"];
                this.columnuploadbyte = base.Columns["uploadbyte"];
                this.columncomment = base.Columns["comment"];
                this.columnactive = base.Columns["active"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columncourseinfoid = new System.Data.DataColumn("courseinfoid", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columncourseinfoid);
                this.columncoursename = new System.Data.DataColumn("coursename", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columncoursename);
                this.columnjobtablename = new System.Data.DataColumn("jobtablename", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnjobtablename);
                this.columnchecktablename = new System.Data.DataColumn("checktablename", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnchecktablename);
                this.columnuploadtype = new System.Data.DataColumn("uploadtype", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnuploadtype);
                this.columnuploadbyte = new System.Data.DataColumn("uploadbyte", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnuploadbyte);
                this.columncomment = new System.Data.DataColumn("comment", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columncomment);
                this.columnactive = new System.Data.DataColumn("active", typeof(bool), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnactive);
                this.columncourseinfoid.MaxLength = 20;
                this.columncoursename.MaxLength = 50;
                this.columnjobtablename.MaxLength = 100;
                this.columnchecktablename.MaxLength = 100;
                this.columnuploadtype.MaxLength = 200;
                this.columncomment.MaxLength = 200;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public CourseInfoRow NewCourseInfoRow() {
                return ((CourseInfoRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new CourseInfoRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(CourseInfoRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.CourseInfoRowChanged != null)) {
                    this.CourseInfoRowChanged(this, new CourseInfoRowChangeEvent(((CourseInfoRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.CourseInfoRowChanging != null)) {
                    this.CourseInfoRowChanging(this, new CourseInfoRowChangeEvent(((CourseInfoRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.CourseInfoRowDeleted != null)) {
                    this.CourseInfoRowDeleted(this, new CourseInfoRowChangeEvent(((CourseInfoRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.CourseInfoRowDeleting != null)) {
                    this.CourseInfoRowDeleting(this, new CourseInfoRowChangeEvent(((CourseInfoRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveCourseInfoRow(CourseInfoRow row) {
                this.Rows.Remove(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
                System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
                System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
                cry ds = new cry();
                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -