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

📄 dataset1.cs

📁 人力资源管理系统 在vc的环境下编写的
💻 CS
📖 第 1 页 / 共 5 页
字号:
//------------------------------------------------------------------------------
// <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 人力资源管理系统 {
    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 DataSet1 : DataSet {
        
        private 工资发放历史表DataTable table工资发放历史表;
        
        private 组织机构编码表DataTable table组织机构编码表;
        
        private 职员基本信息表DataTable table职员基本信息表;
        
        private 职员惩罚表DataTable table职员惩罚表;
        
        private 个人所得税表DataTable table个人所得税表;
        
        private 职员奖励表DataTable table职员奖励表;
        
        public DataSet1() {
            this.InitClass();
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            this.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        protected DataSet1(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["工资发放历史表"] != null)) {
                    this.Tables.Add(new 工资发放历史表DataTable(ds.Tables["工资发放历史表"]));
                }
                if ((ds.Tables["组织机构编码表"] != null)) {
                    this.Tables.Add(new 组织机构编码表DataTable(ds.Tables["组织机构编码表"]));
                }
                if ((ds.Tables["职员基本信息表"] != null)) {
                    this.Tables.Add(new 职员基本信息表DataTable(ds.Tables["职员基本信息表"]));
                }
                if ((ds.Tables["职员惩罚表"] != null)) {
                    this.Tables.Add(new 职员惩罚表DataTable(ds.Tables["职员惩罚表"]));
                }
                if ((ds.Tables["个人所得税表"] != null)) {
                    this.Tables.Add(new 个人所得税表DataTable(ds.Tables["个人所得税表"]));
                }
                if ((ds.Tables["职员奖励表"] != null)) {
                    this.Tables.Add(new 职员奖励表DataTable(ds.Tables["职员奖励表"]));
                }
                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 工资发放历史表DataTable 工资发放历史表 {
            get {
                return this.table工资发放历史表;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public 组织机构编码表DataTable 组织机构编码表 {
            get {
                return this.table组织机构编码表;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public 职员基本信息表DataTable 职员基本信息表 {
            get {
                return this.table职员基本信息表;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public 职员惩罚表DataTable 职员惩罚表 {
            get {
                return this.table职员惩罚表;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public 个人所得税表DataTable 个人所得税表 {
            get {
                return this.table个人所得税表;
            }
        }
        
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public 职员奖励表DataTable 职员奖励表 {
            get {
                return this.table职员奖励表;
            }
        }
        
        public override DataSet Clone() {
            DataSet1 cln = ((DataSet1)(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["工资发放历史表"] != null)) {
                this.Tables.Add(new 工资发放历史表DataTable(ds.Tables["工资发放历史表"]));
            }
            if ((ds.Tables["组织机构编码表"] != null)) {
                this.Tables.Add(new 组织机构编码表DataTable(ds.Tables["组织机构编码表"]));
            }
            if ((ds.Tables["职员基本信息表"] != null)) {
                this.Tables.Add(new 职员基本信息表DataTable(ds.Tables["职员基本信息表"]));
            }
            if ((ds.Tables["职员惩罚表"] != null)) {
                this.Tables.Add(new 职员惩罚表DataTable(ds.Tables["职员惩罚表"]));
            }
            if ((ds.Tables["个人所得税表"] != null)) {
                this.Tables.Add(new 个人所得税表DataTable(ds.Tables["个人所得税表"]));
            }
            if ((ds.Tables["职员奖励表"] != null)) {
                this.Tables.Add(new 职员奖励表DataTable(ds.Tables["职员奖励表"]));
            }
            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.table工资发放历史表 = ((工资发放历史表DataTable)(this.Tables["工资发放历史表"]));
            if ((this.table工资发放历史表 != null)) {
                this.table工资发放历史表.InitVars();
            }
            this.table组织机构编码表 = ((组织机构编码表DataTable)(this.Tables["组织机构编码表"]));
            if ((this.table组织机构编码表 != null)) {
                this.table组织机构编码表.InitVars();
            }
            this.table职员基本信息表 = ((职员基本信息表DataTable)(this.Tables["职员基本信息表"]));
            if ((this.table职员基本信息表 != null)) {
                this.table职员基本信息表.InitVars();
            }
            this.table职员惩罚表 = ((职员惩罚表DataTable)(this.Tables["职员惩罚表"]));
            if ((this.table职员惩罚表 != null)) {
                this.table职员惩罚表.InitVars();
            }
            this.table个人所得税表 = ((个人所得税表DataTable)(this.Tables["个人所得税表"]));
            if ((this.table个人所得税表 != null)) {
                this.table个人所得税表.InitVars();
            }
            this.table职员奖励表 = ((职员奖励表DataTable)(this.Tables["职员奖励表"]));
            if ((this.table职员奖励表 != null)) {
                this.table职员奖励表.InitVars();
            }
        }
        
        private void InitClass() {
            this.DataSetName = "DataSet1";
            this.Prefix = "";
            this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
            this.Locale = new System.Globalization.CultureInfo("zh-CN");
            this.CaseSensitive = false;
            this.EnforceConstraints = true;
            this.table工资发放历史表 = new 工资发放历史表DataTable();
            this.Tables.Add(this.table工资发放历史表);
            this.table组织机构编码表 = new 组织机构编码表DataTable();
            this.Tables.Add(this.table组织机构编码表);
            this.table职员基本信息表 = new 职员基本信息表DataTable();
            this.Tables.Add(this.table职员基本信息表);
            this.table职员惩罚表 = new 职员惩罚表DataTable();
            this.Tables.Add(this.table职员惩罚表);
            this.table个人所得税表 = new 个人所得税表DataTable();
            this.Tables.Add(this.table个人所得税表);
            this.table职员奖励表 = new 职员奖励表DataTable();
            this.Tables.Add(this.table职员奖励表);
        }
        
        private bool ShouldSerialize工资发放历史表() {
            return false;
        }
        
        private bool ShouldSerialize组织机构编码表() {
            return false;
        }
        
        private bool ShouldSerialize职员基本信息表() {
            return false;
        }
        
        private bool ShouldSerialize职员惩罚表() {
            return false;
        }
        
        private bool ShouldSerialize个人所得税表() {
            return false;
        }
        
        private bool ShouldSerialize职员奖励表() {
            return false;
        }
        
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        public delegate void 工资发放历史表RowChangeEventHandler(object sender, 工资发放历史表RowChangeEvent e);
        
        public delegate void 组织机构编码表RowChangeEventHandler(object sender, 组织机构编码表RowChangeEvent e);
        
        public delegate void 职员基本信息表RowChangeEventHandler(object sender, 职员基本信息表RowChangeEvent e);
        
        public delegate void 职员惩罚表RowChangeEventHandler(object sender, 职员惩罚表RowChangeEvent e);
        
        public delegate void 个人所得税表RowChangeEventHandler(object sender, 个人所得税表RowChangeEvent e);
        
        public delegate void 职员奖励表RowChangeEventHandler(object sender, 职员奖励表RowChangeEvent e);
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class 工资发放历史表DataTable : 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临时补;
            
            private DataColumn column职务工资;
            
            private DataColumn column工龄工资;
            

⌨️ 快捷键说明

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