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

📄 医院管理系统dataset.designer.cs

📁 本人课程设计时开发的一个医院管理系统
💻 CS
📖 第 1 页 / 共 4 页
字号:
            private System.Data.DataColumn columnPrice;
            
            private System.Data.DataColumn columnStore_Amount;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Medicine_StoreDataTable() {
                this.TableName = "Medicine_Store";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal Medicine_StoreDataTable(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 Medicine_StoreDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Medicine_CodeColumn {
                get {
                    return this.columnMedicine_Code;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Medicine_NameColumn {
                get {
                    return this.columnMedicine_Name;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn PriceColumn {
                get {
                    return this.columnPrice;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn Store_AmountColumn {
                get {
                    return this.columnStore_Amount;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Medicine_StoreRow this[int index] {
                get {
                    return ((Medicine_StoreRow)(this.Rows[index]));
                }
            }
            
            public event Medicine_StoreRowChangeEventHandler Medicine_StoreRowChanging;
            
            public event Medicine_StoreRowChangeEventHandler Medicine_StoreRowChanged;
            
            public event Medicine_StoreRowChangeEventHandler Medicine_StoreRowDeleting;
            
            public event Medicine_StoreRowChangeEventHandler Medicine_StoreRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddMedicine_StoreRow(Medicine_StoreRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Medicine_StoreRow AddMedicine_StoreRow(string Medicine_Code, string Medicine_Name, double Price, int Store_Amount) {
                Medicine_StoreRow rowMedicine_StoreRow = ((Medicine_StoreRow)(this.NewRow()));
                rowMedicine_StoreRow.ItemArray = new object[] {
                        Medicine_Code,
                        Medicine_Name,
                        Price,
                        Store_Amount};
                this.Rows.Add(rowMedicine_StoreRow);
                return rowMedicine_StoreRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Medicine_StoreRow FindByMedicine_Code(string Medicine_Code) {
                return ((Medicine_StoreRow)(this.Rows.Find(new object[] {
                            Medicine_Code})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                Medicine_StoreDataTable cln = ((Medicine_StoreDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new Medicine_StoreDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnMedicine_Code = base.Columns["Medicine_Code"];
                this.columnMedicine_Name = base.Columns["Medicine_Name"];
                this.columnPrice = base.Columns["Price"];
                this.columnStore_Amount = base.Columns["Store_Amount"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnMedicine_Code = new System.Data.DataColumn("Medicine_Code", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnMedicine_Code);
                this.columnMedicine_Name = new System.Data.DataColumn("Medicine_Name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnMedicine_Name);
                this.columnPrice = new System.Data.DataColumn("Price", typeof(double), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnPrice);
                this.columnStore_Amount = new System.Data.DataColumn("Store_Amount", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnStore_Amount);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnMedicine_Code}, true));
                this.columnMedicine_Code.AllowDBNull = false;
                this.columnMedicine_Code.Unique = true;
                this.columnMedicine_Code.MaxLength = 10;
                this.columnMedicine_Name.AllowDBNull = false;
                this.columnMedicine_Name.MaxLength = 10;
                this.columnPrice.AllowDBNull = false;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public Medicine_StoreRow NewMedicine_StoreRow() {
                return ((Medicine_StoreRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new Medicine_StoreRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(Medicine_StoreRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.Medicine_StoreRowChanged != null)) {
                    this.Medicine_StoreRowChanged(this, new Medicine_StoreRowChangeEvent(((Medicine_StoreRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.Medicine_StoreRowChanging != null)) {
                    this.Medicine_StoreRowChanging(this, new Medicine_StoreRowChangeEvent(((Medicine_StoreRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.Medicine_StoreRowDeleted != null)) {
                    this.Medicine_StoreRowDeleted(this, new Medicine_StoreRowChangeEvent(((Medicine_StoreRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.Medicine_StoreRowDeleting != null)) {
                    this.Medicine_StoreRowDeleting(this, new Medicine_StoreRowChangeEvent(((Medicine_StoreRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveMedicine_StoreRow(Medicine_StoreRow 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();
                医院管理系统DataSet ds = new 医院管理系统DataSet();
                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 = "Medicine_StoreDataTable";
                type.Attributes.Add(attribute2);

⌨️ 快捷键说明

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