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

📄 stuaddedinfo.designer.cs

📁 C#2.0宝典源码,C#经典书籍,很多例子
💻 CS
📖 第 1 页 / 共 5 页
字号:
                this.columnpunishmentType_name = base.Columns["punishmentType_name"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnpunishment_ID = new System.Data.DataColumn("punishment_ID", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpunishment_ID);
                this.columnpunishment_studentID = new System.Data.DataColumn("punishment_studentID", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpunishment_studentID);
                this.columnpunishment_typeID = new System.Data.DataColumn("punishment_typeID", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpunishment_typeID);
                this.columnpunishment_reason = new System.Data.DataColumn("punishment_reason", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpunishment_reason);
                this.columnpunishment_date = new System.Data.DataColumn("punishment_date", typeof(System.DateTime), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpunishment_date);
                this.columnpunishment_isMoved = new System.Data.DataColumn("punishment_isMoved", typeof(bool), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpunishment_isMoved);
                this.columnpunishmentType_name = new System.Data.DataColumn("punishmentType_name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnpunishmentType_name);
                this.Constraints.Add(new System.Data.UniqueConstraint("StuAddedInfoKey3", new System.Data.DataColumn[] {
                                this.columnpunishment_ID}, true));
                this.columnpunishment_ID.AutoIncrement = true;
                this.columnpunishment_ID.AllowDBNull = false;
                this.columnpunishment_ID.Unique = true;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public punishmentsRow NewpunishmentsRow() {
                return ((punishmentsRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new punishmentsRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(punishmentsRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.punishmentsRowChanged != null)) {
                    this.punishmentsRowChanged(this, new punishmentsRowChangeEvent(((punishmentsRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.punishmentsRowChanging != null)) {
                    this.punishmentsRowChanging(this, new punishmentsRowChangeEvent(((punishmentsRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.punishmentsRowDeleted != null)) {
                    this.punishmentsRowDeleted(this, new punishmentsRowChangeEvent(((punishmentsRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.punishmentsRowDeleting != null)) {
                    this.punishmentsRowDeleting(this, new punishmentsRowChangeEvent(((punishmentsRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovepunishmentsRow(punishmentsRow 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();
                StuAddedInfo ds = new StuAddedInfo();
                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 = "punishmentsDataTable";
                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 changeTypesDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnchangeType_ID;
            
            private System.Data.DataColumn columnchangeType_name;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public changeTypesDataTable() {
                this.TableName = "changeTypes";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal changeTypesDataTable(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 changeTypesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn changeType_IDColumn {
                get {
                    return this.columnchangeType_ID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn changeType_nameColumn {
                get {
                    return this.columnchangeType_name;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public changeTypesRow this[int index] {
                get {
                    return ((changeTypesRow)(this.Rows[index]));
                }
            }
            
            public event changeTypesRowChangeEventHandler changeTypesRowChanging;
            
            public event changeTypesRowChangeEventHandler changeTypesRowChanged;
            
            public event changeTypesRowChangeEventHandler changeTypesRowDeleting;
            
            public event changeTypesRowChangeEventHandler changeTypesRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddchangeTypesRow(changeTypesRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public changeTypesRow AddchangeTypesRow(int changeType_ID, string changeType_name) {
                changeTypesRow rowchangeTypesRow = ((changeTypesRow)(this.NewRow()));
                rowchangeTypesRow.ItemArray = new object[] {
                        changeType_ID,
                        changeType_name};
                this.Rows.Add(rowchangeTypesRow);
                return rowchangeTypesRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public changeTypesRow FindBychangeType_ID(int changeType_ID) {
                return ((changeTypesRow)(this.Rows.Find(new object[] {
                            changeType_ID})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                changeTypesDataTable cln = ((changeTypesDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new changeTypesDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnchangeType_ID = base.Columns["changeType_ID"];
                this.columnchangeType_name = base.Columns["changeType_name"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnchangeType_ID = new System.Data.DataColumn("changeType_ID", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnchangeType_ID);
                this.columnchangeType_name = new System.Data.DataColumn("changeType_name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnchangeType_name);
                this.Constraints.Add(new System.Data.UniqueConstraint("StuAddedInfoKey4", new System.Data.DataColumn[] {
                                this.columnchangeType_ID}, true));
                this.columnchangeType_ID.AllowDBNull = false;
                this.columnchangeType_ID.Unique = true;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public changeTypesRow NewchangeTypesRow() {
                return ((changeTypesRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new changeTypesRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(changeTypesRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.changeTypesRowChanged != null)) {
                    this.changeTypesRowChanged(this, new changeTypesRowChangeEvent(((changeTypesRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.De

⌨️ 快捷键说明

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