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

📄 wupengdataset.designer.cs

📁 简单的通讯录程序
💻 CS
📖 第 1 页 / 共 5 页
字号:
                                ;
                            }
                            if ((s1.Position == s1.Length)) {
                                return type;
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null)) {
                        s1.Close();
                    }
                    if ((s2 != null)) {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return type;
        }
        
        public delegate void customRowChangeEventHandler(object sender, customRowChangeEvent e);
        
        /// <summary>
        ///Represents the strongly named DataTable class.
        ///</summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [global::System.Serializable()]
        [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class customDataTable : global::System.Data.TypedTableBase<customRow> {
            
            private global::System.Data.DataColumn columnname;
            
            private global::System.Data.DataColumn columnbirth;
            
            private global::System.Data.DataColumn columnsex;
            
            private global::System.Data.DataColumn columnaddr;
            
            private global::System.Data.DataColumn columnpost;
            
            private global::System.Data.DataColumn columntelphone;
            
            private global::System.Data.DataColumn columnmore;
            
            private global::System.Data.DataColumn columngrp;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public customDataTable() {
                this.TableName = "custom";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal customDataTable(global::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;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected customDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn nameColumn {
                get {
                    return this.columnname;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn birthColumn {
                get {
                    return this.columnbirth;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn sexColumn {
                get {
                    return this.columnsex;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn addrColumn {
                get {
                    return this.columnaddr;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn postColumn {
                get {
                    return this.columnpost;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn telphoneColumn {
                get {
                    return this.columntelphone;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn moreColumn {
                get {
                    return this.columnmore;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public global::System.Data.DataColumn grpColumn {
                get {
                    return this.columngrp;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [global::System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public customRow this[int index] {
                get {
                    return ((customRow)(this.Rows[index]));
                }
            }
            
            public event customRowChangeEventHandler customRowChanging;
            
            public event customRowChangeEventHandler customRowChanged;
            
            public event customRowChangeEventHandler customRowDeleting;
            
            public event customRowChangeEventHandler customRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddcustomRow(customRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public customRow AddcustomRow(string name, System.DateTime birth, string sex, string addr, string post, string telphone, string more, string grp) {
                customRow rowcustomRow = ((customRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        name,
                        birth,
                        sex,
                        addr,
                        post,
                        telphone,
                        more,
                        grp};
                rowcustomRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowcustomRow);
                return rowcustomRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public customRow FindByname(string name) {
                return ((customRow)(this.Rows.Find(new object[] {
                            name})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                customDataTable cln = ((customDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new customDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnname = base.Columns["name"];
                this.columnbirth = base.Columns["birth"];
                this.columnsex = base.Columns["sex"];
                this.columnaddr = base.Columns["addr"];
                this.columnpost = base.Columns["post"];
                this.columntelphone = base.Columns["telphone"];
                this.columnmore = base.Columns["more"];
                this.columngrp = base.Columns["grp"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnname);
                this.columnbirth = new global::System.Data.DataColumn("birth", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnbirth);
                this.columnsex = new global::System.Data.DataColumn("sex", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnsex);
                this.columnaddr = new global::System.Data.DataColumn("addr", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnaddr);
                this.columnpost = new global::System.Data.DataColumn("post", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnpost);
                this.columntelphone = new global::System.Data.DataColumn("telphone", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columntelphone);
                this.columnmore = new global::System.Data.DataColumn("more", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columnmore);
                this.columngrp = new global::System.Data.DataColumn("grp", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columngrp);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columnname}, true));
                this.columnname.AllowDBNull = false;
                this.columnname.Unique = true;
                this.columnname.MaxLength = 50;
                this.columnbirth.AllowDBNull = false;
                this.columnsex.AllowDBNull = false;

⌨️ 快捷键说明

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