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

📄 emp_brushidset.cs

📁 独立完成考勤管理软件加打卡系统(C#) 是打卡加管理系统软件 
💻 CS
📖 第 1 页 / 共 2 页
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

namespace WindowsApplication {
    using System;
    using System.Data;
    using System.Xml;
    using System.Runtime.Serialization;
    
    
    [Serializable()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Diagnostics.DebuggerStepThrough()]
    [System.ComponentModel.ToolboxItem(true)]
    public class Emp_BrushIDSET : DataSet {
        
        private Emp_BrushIDDataTable tableEmp_BrushID;
        
        public Emp_BrushIDSET() {
            this.InitClass();
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            this.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        protected Emp_BrushIDSET(SerializationInfo info, StreamingContext context) {
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
            if ((strSchema != null)) {
                DataSet ds = new DataSet();
                ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
                if ((ds.Tables["Emp_BrushID"] != null)) {
                    this.Tables.Add(new Emp_BrushIDDataTable(ds.Tables["Emp_BrushID"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.InitClass();
            }
            this.GetSerializationData(info, context);
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            this.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public Emp_BrushIDDataTable Emp_BrushID {
            get {
                return this.tableEmp_BrushID;
            }
        }
        
        public override DataSet Clone() {
            Emp_BrushIDSET cln = ((Emp_BrushIDSET)(base.Clone()));
            cln.InitVars();
            return cln;
        }
        
        protected override bool ShouldSerializeTables() {
            return false;
        }
        
        protected override bool ShouldSerializeRelations() {
            return false;
        }
        
        protected override void ReadXmlSerializable(XmlReader reader) {
            this.Reset();
            DataSet ds = new DataSet();
            ds.ReadXml(reader);
            if ((ds.Tables["Emp_BrushID"] != null)) {
                this.Tables.Add(new Emp_BrushIDDataTable(ds.Tables["Emp_BrushID"]));
            }
            this.DataSetName = ds.DataSetName;
            this.Prefix = ds.Prefix;
            this.Namespace = ds.Namespace;
            this.Locale = ds.Locale;
            this.CaseSensitive = ds.CaseSensitive;
            this.EnforceConstraints = ds.EnforceConstraints;
            this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
            this.InitVars();
        }
        
        protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
            this.WriteXmlSchema(new XmlTextWriter(stream, null));
            stream.Position = 0;
            return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
        }
        
        internal void InitVars() {
            this.tableEmp_BrushID = ((Emp_BrushIDDataTable)(this.Tables["Emp_BrushID"]));
            if ((this.tableEmp_BrushID != null)) {
                this.tableEmp_BrushID.InitVars();
            }
        }
        
        private void InitClass() {
            this.DataSetName = "Emp_BrushIDSET";
            this.Prefix = "";
            this.Namespace = "http://www.tempuri.org/Emp_BrushIDSET.xsd";
            this.Locale = new System.Globalization.CultureInfo("zh-CN");
            this.CaseSensitive = false;
            this.EnforceConstraints = true;
            this.tableEmp_BrushID = new Emp_BrushIDDataTable();
            this.Tables.Add(this.tableEmp_BrushID);
        }
        
        private bool ShouldSerializeEmp_BrushID() {
            return false;
        }
        
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        public delegate void Emp_BrushIDRowChangeEventHandler(object sender, Emp_BrushIDRowChangeEvent e);
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class Emp_BrushIDDataTable : DataTable, System.Collections.IEnumerable {
            
            private DataColumn column编号;
            
            private DataColumn column日期;
            
            private DataColumn column职工名称;
            
            private DataColumn column上午上班;
            
            private DataColumn column上午下班;
            
            private DataColumn column下午上班;
            
            private DataColumn column下午下班;
            
            private DataColumn column状态;
            
            internal Emp_BrushIDDataTable() : 
                    base("Emp_BrushID") {
                this.InitClass();
            }
            
            internal Emp_BrushIDDataTable(DataTable table) : 
                    base(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;
                this.DisplayExpression = table.DisplayExpression;
            }
            
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            internal DataColumn 编号Column {
                get {
                    return this.column编号;
                }
            }
            
            internal DataColumn 日期Column {
                get {
                    return this.column日期;
                }
            }
            
            internal DataColumn 职工名称Column {
                get {
                    return this.column职工名称;
                }
            }
            
            internal DataColumn 上午上班Column {
                get {
                    return this.column上午上班;
                }
            }
            
            internal DataColumn 上午下班Column {
                get {
                    return this.column上午下班;
                }
            }
            
            internal DataColumn 下午上班Column {
                get {
                    return this.column下午上班;
                }
            }
            
            internal DataColumn 下午下班Column {
                get {
                    return this.column下午下班;
                }
            }
            
            internal DataColumn 状态Column {
                get {
                    return this.column状态;
                }
            }
            
            public Emp_BrushIDRow this[int index] {
                get {
                    return ((Emp_BrushIDRow)(this.Rows[index]));
                }
            }
            
            public event Emp_BrushIDRowChangeEventHandler Emp_BrushIDRowChanged;
            
            public event Emp_BrushIDRowChangeEventHandler Emp_BrushIDRowChanging;
            
            public event Emp_BrushIDRowChangeEventHandler Emp_BrushIDRowDeleted;
            
            public event Emp_BrushIDRowChangeEventHandler Emp_BrushIDRowDeleting;
            
            public void AddEmp_BrushIDRow(Emp_BrushIDRow row) {
                this.Rows.Add(row);
            }
            
            public Emp_BrushIDRow AddEmp_BrushIDRow(string 日期, string 职工名称, string 上午上班, string 上午下班, string 下午上班, string 下午下班, string 状态) {
                Emp_BrushIDRow rowEmp_BrushIDRow = ((Emp_BrushIDRow)(this.NewRow()));
                rowEmp_BrushIDRow.ItemArray = new object[] {
                        null,
                        日期,
                        职工名称,
                        上午上班,
                        上午下班,
                        下午上班,
                        下午下班,
                        状态};
                this.Rows.Add(rowEmp_BrushIDRow);
                return rowEmp_BrushIDRow;
            }
            
            public Emp_BrushIDRow FindBy编号(int 编号) {
                return ((Emp_BrushIDRow)(this.Rows.Find(new object[] {
                            编号})));
            }
            
            public System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            public override DataTable Clone() {
                Emp_BrushIDDataTable cln = ((Emp_BrushIDDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            protected override DataTable CreateInstance() {
                return new Emp_BrushIDDataTable();
            }
            
            internal void InitVars() {

⌨️ 快捷键说明

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