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

📄 wwamds.cs

📁 报刊广告管理系统。CSharp编写
💻 CS
📖 第 1 页 / 共 5 页
字号:
                    return ((bool)(this[this.tableiAdvModel.UsedColumn]));
                }
                set {
                    this[this.tableiAdvModel.UsedColumn] = value;
                }
            }
            
            public int LastVersion {
                get {
                    return ((int)(this[this.tableiAdvModel.LastVersionColumn]));
                }
                set {
                    this[this.tableiAdvModel.LastVersionColumn] = value;
                }
            }
            
            public int ExtendFlag {
                get {
                    return ((int)(this[this.tableiAdvModel.ExtendFlagColumn]));
                }
                set {
                    this[this.tableiAdvModel.ExtendFlagColumn] = value;
                }
            }
            
            public string PaperName {
                get {
                    return ((string)(this[this.tableiAdvModel.PaperNameColumn]));
                }
                set {
                    this[this.tableiAdvModel.PaperNameColumn] = value;
                }
            }
            
            public string PaperSpaceNum {
                get {
                    return ((string)(this[this.tableiAdvModel.PaperSpaceNumColumn]));
                }
                set {
                    this[this.tableiAdvModel.PaperSpaceNumColumn] = value;
                }
            }
            
            public string PaperSpace {
                get {
                    return ((string)(this[this.tableiAdvModel.PaperSpaceColumn]));
                }
                set {
                    this[this.tableiAdvModel.PaperSpaceColumn] = value;
                }
            }
            
            public string AdvSpec {
                get {
                    return ((string)(this[this.tableiAdvModel.AdvSpecColumn]));
                }
                set {
                    this[this.tableiAdvModel.AdvSpecColumn] = value;
                }
            }
            
            public string Color {
                get {
                    return ((string)(this[this.tableiAdvModel.ColorColumn]));
                }
                set {
                    this[this.tableiAdvModel.ColorColumn] = value;
                }
            }
            
            public string PayUnit {
                get {
                    return ((string)(this[this.tableiAdvModel.PayUnitColumn]));
                }
                set {
                    this[this.tableiAdvModel.PayUnitColumn] = value;
                }
            }
            
            public System.Single PayNum {
                get {
                    return ((System.Single)(this[this.tableiAdvModel.PayNumColumn]));
                }
                set {
                    this[this.tableiAdvModel.PayNumColumn] = value;
                }
            }
            
            public System.Single PayPrice {
                get {
                    return ((System.Single)(this[this.tableiAdvModel.PayPriceColumn]));
                }
                set {
                    this[this.tableiAdvModel.PayPriceColumn] = value;
                }
            }
            
            public System.Single PaySum {
                get {
                    return ((System.Single)(this[this.tableiAdvModel.PaySumColumn]));
                }
                set {
                    this[this.tableiAdvModel.PaySumColumn] = value;
                }
            }
            
            public string Memo {
                get {
                    return ((string)(this[this.tableiAdvModel.MemoColumn]));
                }
                set {
                    this[this.tableiAdvModel.MemoColumn] = value;
                }
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class iAdvModelRowChangeEvent : EventArgs {
            
            private iAdvModelRow eventRow;
            
            private DataRowAction eventAction;
            
            public iAdvModelRowChangeEvent(iAdvModelRow row, DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            public iAdvModelRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            public DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class lLoginDataTable : DataTable, System.Collections.IEnumerable {
            
            private DataColumn columnLoginid;
            
            private DataColumn columnLoginTime;
            
            private DataColumn columnLastActTime;
            
            private DataColumn columnLogoutTime;
            
            private DataColumn columnUserCode;
            
            private DataColumn columnIsValid;
            
            private DataColumn columnIPAddress;
            
            private DataColumn columnDescribe;
            
            private DataColumn columnIsAlive;
            
            internal lLoginDataTable() : 
                    base("lLogin") {
                this.InitClass();
            }
            
            internal lLoginDataTable(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 LoginidColumn {
                get {
                    return this.columnLoginid;
                }
            }
            
            internal DataColumn LoginTimeColumn {
                get {
                    return this.columnLoginTime;
                }
            }
            
            internal DataColumn LastActTimeColumn {
                get {
                    return this.columnLastActTime;
                }
            }
            
            internal DataColumn LogoutTimeColumn {
                get {
                    return this.columnLogoutTime;
                }
            }
            
            internal DataColumn UserCodeColumn {
                get {
                    return this.columnUserCode;
                }
            }
            
            internal DataColumn IsValidColumn {
                get {
                    return this.columnIsValid;
                }
            }
            
            internal DataColumn IPAddressColumn {
                get {
                    return this.columnIPAddress;
                }
            }
            
            internal DataColumn DescribeColumn {
                get {
                    return this.columnDescribe;
                }
            }
            
            internal DataColumn IsAliveColumn {
                get {
                    return this.columnIsAlive;
                }
            }
            
            public lLoginRow this[int index] {
                get {
                    return ((lLoginRow)(this.Rows[index]));
                }
            }
            
            public event lLoginRowChangeEventHandler lLoginRowChanged;
            
            public event lLoginRowChangeEventHandler lLoginRowChanging;
            
            public event lLoginRowChangeEventHandler lLoginRowDeleted;
            
            public event lLoginRowChangeEventHandler lLoginRowDeleting;
            
            public void AddlLoginRow(lLoginRow row) {
                this.Rows.Add(row);
            }
            
            public lLoginRow AddlLoginRow(System.DateTime LoginTime, System.DateTime LastActTime, System.DateTime LogoutTime, string UserCode, bool IsValid, string IPAddress, string Describe, bool IsAlive) {
                lLoginRow rowlLoginRow = ((lLoginRow)(this.NewRow()));
                rowlLoginRow.ItemArray = new object[] {
                        null,
                        LoginTime,
                        LastActTime,
                        LogoutTime,
                        UserCode,
                        IsValid,
                        IPAddress,
                        Describe,
                        IsAlive};
                this.Rows.Add(rowlLoginRow);
                return rowlLoginRow;
            }
            
            public lLoginRow FindByLoginid(int Loginid) {
                return ((lLoginRow)(this.Rows.Find(new object[] {
                            Loginid})));
            }
            
            public System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            public override DataTable Clone() {
                lLoginDataTable cln = ((lLoginDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            protected override DataTable CreateInstance() {
                return new lLoginDataTable();
            }
            
            internal void InitVars() {
                this.columnLoginid = this.Columns["Loginid"];
                this.columnLoginTime = this.Columns["LoginTime"];
                this.columnLastActTime = this.Columns["LastActTime"];
                this.columnLogoutTime = this.Columns["LogoutTime"];
                this.columnUserCode = this.Columns["UserCode"];
                this.columnIsValid = this.Columns["IsValid"];
                this.columnIPAddress = this.Columns["IPAddress"];
                this.columnDescribe = this.Columns["Describe"];
                this.columnIsAlive = this.Columns["IsAlive"];
            }
            
            private void InitClass() {
                this.columnLoginid = new DataColumn("Loginid", typeof(int), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnLoginid);
                this.columnLoginTime = new DataColumn("LoginTime", typeof(System.DateTime), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnLoginTime);
                this.columnLastActTime = new DataColumn("LastActTime", typeof(System.DateTime), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnLastActTime);
                this.columnLogoutTime = new DataColumn("LogoutTime", typeof(System.DateTime), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnLogoutTime);
                this.columnUserCode = new DataColumn("UserCode", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnUserCode);
                this.columnIsValid = new DataColumn("IsValid", typeof(bool), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnIsValid);
                this.columnIPAddress = new DataColumn("IPAddress", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnIPAddress);
                this.columnDescribe = new DataColumn("Describe", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnDescribe);
                this.columnIsAlive = new DataColumn("IsAlive", typeof(bool), null, System.Data.MappingType.Element);
                this.Columns.Add(this.columnIsAlive);
                this.Constraints.Add(new UniqueConstraint("WWAMDSKey3", new DataColumn[] {

⌨️ 快捷键说明

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