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

📄 misdataset.designer.cs

📁 一个CSharp写的小型信息系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
                }
            }
            this.tablestudent_course = ((student_courseDataTable)(base.Tables["student_course"]));
            if ((initTable == true)) {
                if ((this.tablestudent_course != null)) {
                    this.tablestudent_course.InitVars();
                }
            }
            this.tablestudent_info = ((student_infoDataTable)(base.Tables["student_info"]));
            if ((initTable == true)) {
                if ((this.tablestudent_info != null)) {
                    this.tablestudent_info.InitVars();
                }
            }
            this.tableteacher = ((teacherDataTable)(base.Tables["teacher"]));
            if ((initTable == true)) {
                if ((this.tableteacher != null)) {
                    this.tableteacher.InitVars();
                }
            }
            this.tableteacher_course = ((teacher_courseDataTable)(base.Tables["teacher_course"]));
            if ((initTable == true)) {
                if ((this.tableteacher_course != null)) {
                    this.tableteacher_course.InitVars();
                }
            }
            this.relationFK_student_course_course = this.Relations["FK_student_course_course"];
            this.relationFK_student_course_student = this.Relations["FK_student_course_student"];
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "misDataSet";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/misDataSet.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.tablecourse = new courseDataTable();
            base.Tables.Add(this.tablecourse);
            this.tablestudent = new studentDataTable();
            base.Tables.Add(this.tablestudent);
            this.tablestudent_course = new student_courseDataTable();
            base.Tables.Add(this.tablestudent_course);
            this.tablestudent_info = new student_infoDataTable();
            base.Tables.Add(this.tablestudent_info);
            this.tableteacher = new teacherDataTable();
            base.Tables.Add(this.tableteacher);
            this.tableteacher_course = new teacher_courseDataTable();
            base.Tables.Add(this.tableteacher_course);
            this.relationFK_student_course_course = new System.Data.DataRelation("FK_student_course_course", new System.Data.DataColumn[] {
                        this.tablecourse.c_idColumn}, new System.Data.DataColumn[] {
                        this.tablestudent_course.c_idColumn}, false);
            this.Relations.Add(this.relationFK_student_course_course);
            this.relationFK_student_course_student = new System.Data.DataRelation("FK_student_course_student", new System.Data.DataColumn[] {
                        this.tablestudent.s_idColumn}, new System.Data.DataColumn[] {
                        this.tablestudent_course.s_idColumn}, false);
            this.Relations.Add(this.relationFK_student_course_student);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializecourse() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializestudent() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializestudent_course() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializestudent_info() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeteacher() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeteacher_course() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
            misDataSet ds = new misDataSet();
            System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
            System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
            xs.Add(ds.GetSchemaSerializable());
            System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            return type;
        }
        
        public delegate void courseRowChangeEventHandler(object sender, courseRowChangeEvent e);
        
        public delegate void studentRowChangeEventHandler(object sender, studentRowChangeEvent e);
        
        public delegate void student_courseRowChangeEventHandler(object sender, student_courseRowChangeEvent e);
        
        public delegate void student_infoRowChangeEventHandler(object sender, student_infoRowChangeEvent e);
        
        public delegate void teacherRowChangeEventHandler(object sender, teacherRowChangeEvent e);
        
        public delegate void teacher_courseRowChangeEventHandler(object sender, teacher_courseRowChangeEvent e);
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class courseDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnc_id;
            
            private System.Data.DataColumn columnc_name;
            
            private System.Data.DataColumn columnc_type;
            
            private System.Data.DataColumn columnbook;
            
            private System.Data.DataColumn columntime;
            
            private System.Data.DataColumn columns_type;
            
            private System.Data.DataColumn columne_type;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public courseDataTable() {
                this.TableName = "course";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal courseDataTable(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 courseDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn c_idColumn {
                get {
                    return this.columnc_id;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn c_nameColumn {
                get {
                    return this.columnc_name;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn c_typeColumn {
                get {
                    return this.columnc_type;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn bookColumn {
                get {
                    return this.columnbook;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn timeColumn {
                get {
                    return this.columntime;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn s_typeColumn {
                get {
                    return this.columns_type;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn e_typeColumn {
                get {
                    return this.columne_type;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public courseRow this[int index] {
                get {
                    return ((courseRow)(this.Rows[index]));
                }
            }
            
            public event courseRowChangeEventHandler courseRowChanging;
            
            public event courseRowChangeEventHandler courseRowChanged;
            
            public event courseRowChangeEventHandler courseRowDeleting;
            
            public event courseRowChangeEventHandler courseRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddcourseRow(courseRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public courseRow AddcourseRow(int c_id, string c_name, string c_type, string book, System.DateTime time, string s_type, string e_type) {
                courseRow rowcourseRow = ((courseRow)(this.NewRow()));
                rowcourseRow.ItemArray = new object[] {
                        c_id,
                        c_name,
                        c_type,
                        book,
                        time,
                        s_type,
                        e_type};
                this.Rows.Add(rowcourseRow);
                return rowcourseRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public courseRow FindByc_id(int c_id) {
                return ((courseRow)(this.Rows.Find(new object[] {
                            c_id})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

⌨️ 快捷键说明

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