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

📄 dataset2.designer.cs

📁 这是本人学习语言来第一次写的程序
💻 CS
📖 第 1 页 / 共 5 页
字号:
                    this.dzxxbRowDeleted(this, new dzxxbRowChangeEvent(((dzxxbRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.dzxxbRowDeleting != null)) {
                    this.dzxxbRowDeleting(this, new dzxxbRowChangeEvent(((dzxxbRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovedzxxbRow(dzxxbRow 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();
                DataSet2 ds = new DataSet2();
                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);
                System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "dzxxbDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class tsxxbDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn column编号;
            
            private System.Data.DataColumn column出版社;
            
            private System.Data.DataColumn column价格;
            
            private System.Data.DataColumn column库存数;
            
            private System.Data.DataColumn column类别;
            
            private System.Data.DataColumn column书名;
            
            private System.Data.DataColumn column在库数;
            
            private System.Data.DataColumn column作者;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tsxxbDataTable() {
                this.TableName = "tsxxb";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal tsxxbDataTable(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 tsxxbDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 编号Column {
                get {
                    return this.column编号;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 出版社Column {
                get {
                    return this.column出版社;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 价格Column {
                get {
                    return this.column价格;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 库存数Column {
                get {
                    return this.column库存数;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 类别Column {
                get {
                    return this.column类别;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 书名Column {
                get {
                    return this.column书名;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 在库数Column {
                get {
                    return this.column在库数;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn 作者Column {
                get {
                    return this.column作者;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tsxxbRow this[int index] {
                get {
                    return ((tsxxbRow)(this.Rows[index]));
                }
            }
            
            public event tsxxbRowChangeEventHandler tsxxbRowChanging;
            
            public event tsxxbRowChangeEventHandler tsxxbRowChanged;
            
            public event tsxxbRowChangeEventHandler tsxxbRowDeleting;
            
            public event tsxxbRowChangeEventHandler tsxxbRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddtsxxbRow(tsxxbRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tsxxbRow AddtsxxbRow(string 编号, string 出版社, decimal 价格, int 库存数, string 类别, string 书名, int 在库数, string 作者) {
                tsxxbRow rowtsxxbRow = ((tsxxbRow)(this.NewRow()));
                rowtsxxbRow.ItemArray = new object[] {
                        编号,
                        出版社,
                        价格,
                        库存数,
                        类别,
                        书名,
                        在库数,
                        作者};
                this.Rows.Add(rowtsxxbRow);
                return rowtsxxbRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tsxxbRow FindBy编号(string 编号) {
                return ((tsxxbRow)(this.Rows.Find(new object[] {
                            编号})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                tsxxbDataTable cln = ((tsxxbDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new tsxxbDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.column编号 = base.Columns["编号"];
                this.column出版社 = base.Columns["出版社"];
                this.column价格 = base.Columns["价格"];
                this.column库存数 = base.Columns["库存数"];
                this.column类别 = base.Columns["类别"];
                this.column书名 = base.Columns["书名"];
                this.column在库数 = base.Columns["在库数"];
                this.column作者 = base.Columns["作者"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.column编号 = new System.Data.DataColumn("编号", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column编号);
                this.column出版社 = new System.Data.DataColumn("出版社", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column出版社);
                this.column价格 = new System.Data.DataColumn("价格", typeof(decimal), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column价格);
                this.column库存数 = new System.Data.DataColumn("库存数", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column库存数);
                this.column类别 = new System.Data.DataColumn("类别", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column类别);
                this.column书名 = new System.Data.DataColumn("书名", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column书名);
                this.column在库数 = new System.Data.DataColumn("在库数", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column在库数);
                this.column作者 = new System.Data.DataColumn("作者", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.column作者);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.column编号}, true));
                this.column编号.AllowDBNull = false;
                this.column编号.Unique = true;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public tsxxbRow NewtsxxbRow() {
                return ((tsxxbRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new tsxxbRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(tsxxbRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.tsxxbRowChanged != null)) {
                    this.tsxxbRowChanged(this, new tsxxbRowChangeEvent(((tsxxbRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);

⌨️ 快捷键说明

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