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

📄 busworkdataset2.designer.cs

📁 此系统开发了一个公交车管理系统。系统根据权限的不同
💻 CS
📖 第 1 页 / 共 5 页
字号:
            }
            
            public event db_carRowChangeEventHandler db_carRowChanging;
            
            public event db_carRowChangeEventHandler db_carRowChanged;
            
            public event db_carRowChangeEventHandler db_carRowDeleting;
            
            public event db_carRowChangeEventHandler db_carRowDeleted;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Adddb_carRow(db_carRow row) {
                this.Rows.Add(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public db_carRow Adddb_carRow(string car_number, string car_rank, System.DateTime car_buytime, decimal car_fee, System.DateTime car_feestart, System.DateTime car_feeend, decimal car_insurance, System.DateTime car_instart, System.DateTime car_inend, string car_remark) {
                db_carRow rowdb_carRow = ((db_carRow)(this.NewRow()));
                object[] columnValuesArray = new object[] {
                        null,
                        car_number,
                        car_rank,
                        car_buytime,
                        car_fee,
                        car_feestart,
                        car_feeend,
                        car_insurance,
                        car_instart,
                        car_inend,
                        car_remark};
                rowdb_carRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowdb_carRow);
                return rowdb_carRow;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public db_carRow FindBycar_id(int car_id) {
                return ((db_carRow)(this.Rows.Find(new object[] {
                            car_id})));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual global::System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override global::System.Data.DataTable Clone() {
                db_carDataTable cln = ((db_carDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataTable CreateInstance() {
                return new db_carDataTable();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columncar_id = base.Columns["car_id"];
                this.columncar_number = base.Columns["car_number"];
                this.columncar_rank = base.Columns["car_rank"];
                this.columncar_buytime = base.Columns["car_buytime"];
                this.columncar_fee = base.Columns["car_fee"];
                this.columncar_feestart = base.Columns["car_feestart"];
                this.columncar_feeend = base.Columns["car_feeend"];
                this.columncar_insurance = base.Columns["car_insurance"];
                this.columncar_instart = base.Columns["car_instart"];
                this.columncar_inend = base.Columns["car_inend"];
                this.columncar_remark = base.Columns["car_remark"];
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columncar_id = new global::System.Data.DataColumn("car_id", typeof(int), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_id);
                this.columncar_number = new global::System.Data.DataColumn("car_number", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_number);
                this.columncar_rank = new global::System.Data.DataColumn("car_rank", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_rank);
                this.columncar_buytime = new global::System.Data.DataColumn("car_buytime", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_buytime);
                this.columncar_fee = new global::System.Data.DataColumn("car_fee", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_fee);
                this.columncar_feestart = new global::System.Data.DataColumn("car_feestart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_feestart);
                this.columncar_feeend = new global::System.Data.DataColumn("car_feeend", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_feeend);
                this.columncar_insurance = new global::System.Data.DataColumn("car_insurance", typeof(decimal), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_insurance);
                this.columncar_instart = new global::System.Data.DataColumn("car_instart", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_instart);
                this.columncar_inend = new global::System.Data.DataColumn("car_inend", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_inend);
                this.columncar_remark = new global::System.Data.DataColumn("car_remark", typeof(string), null, global::System.Data.MappingType.Element);
                base.Columns.Add(this.columncar_remark);
                this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
                                this.columncar_id}, true));
                this.columncar_id.AutoIncrement = true;
                this.columncar_id.AllowDBNull = false;
                this.columncar_id.ReadOnly = true;
                this.columncar_id.Unique = true;
                this.columncar_number.MaxLength = 50;
                this.columncar_rank.MaxLength = 20;
                this.columncar_remark.MaxLength = 200;
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public db_carRow Newdb_carRow() {
                return ((db_carRow)(this.NewRow()));
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
                return new db_carRow(builder);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override global::System.Type GetRowType() {
                return typeof(db_carRow);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.db_carRowChanged != null)) {
                    this.db_carRowChanged(this, new db_carRowChangeEvent(((db_carRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.db_carRowChanging != null)) {
                    this.db_carRowChanging(this, new db_carRowChangeEvent(((db_carRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.db_carRowDeleted != null)) {
                    this.db_carRowDeleted(this, new db_carRowChangeEvent(((db_carRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.db_carRowDeleting != null)) {
                    this.db_carRowDeleting(this, new db_carRowChangeEvent(((db_carRow)(e.Row)), e.Action));
                }
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Removedb_carRow(db_carRow row) {
                this.Rows.Remove(row);
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
                global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
                global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
                BusWorkDataSet2 ds = new BusWorkDataSet2();
                global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "db_carDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
                if (xs.Contains(dsSchema.TargetNamespace)) {
                    global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                    global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                    try {
                        global::System.Xml.Schema.XmlSchema schema = null;
                        dsSchema.Write(s1);
                        for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                            schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                            s2.SetLength(0);
                            schema.Write(s2);
                            if ((s1.Length == s2.Length)) {
                                s1.Position = 0;
                                s2.Position = 0;
                                for (; ((s1.Position != s1.Length) 
                                            && (s1.ReadByte() == s2.ReadByte())); ) {
                                    ;
                                }
                                if ((s1.Position == s1.Length)) {
                                    return type;
                                }
                            }
                        }
                    }
                    finally {
                        if ((s1 != null)) {
                            s1.Close();
                        }
                        if ((s2 != null)) {
                            s2.Close();
                        }
                    }
                }
                xs.Add(dsSchema);
                return type;
            }
        }
        
        /// <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 db_dutyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
            
            private global::System.Data.DataColumn columnduty_id;
            
            private global::System.Data.DataColumn columnduty_account;
            
            private global::System.Data.DataColumn columnduty_duty;
            
            private global::System.Data.DataColumn columnduty_time;
            
            private global::System.Data.DataColumn columnduty_remark;
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public db_dutyDataTable() {
                this.TableName = "db_duty";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal db_dutyDataTable(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 (

⌨️ 快捷键说明

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