ITeye博客

CodematicDemo2.0 的PageControl -1

gauss2008 · 2006-12-20 16:11 · UI · Web · Markdown

Source Code Of Navigation01.cs

 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Gauss.PageControl
...{
    [DefaultProperty(""), ToolboxData("<{0}:Navigation01 runat=server></{0}:Navigation01>")]
    public class Navigation01 : WebControl
    ...{
       // Fields
        private string key_Str;
        private string page_Add;
        private string page_Delete;
        private string page_Index;
        private Mode page_Mode;
        private string page_Modify;
        private string page_Search;
        private string page_Show;
        private int page_width;
        private string para_Str;
        private string table_Name;

        // Nested Types
        public enum Mode
        ...{
            Add,
            Modify,
            Delete,
            Search,
            Show
        }
        public Navigation01()
        ...{
            this.page_Index = "index.aspx";
            this.page_Add = "add.aspx";
            this.page_Delete = "delete.aspx";
            this.page_Modify = "modify.aspx";
            this.page_Search = "search.aspx";
            this.page_Show = "show.aspx";
            this.page_width = 600;
        }
        public string Key_Str
        ...{
            get
            ...{
                return this.key_Str;
            }
            set
            ...{
                this.key_Str = value;
            }
        }
        public string Page_Add
        ...{
            get
            ...{
                return this.page_Add;
            }
            set
            ...{
                this.page_Add = value;
            }
        }
        public string Page_Delete
        ...{
            get
            ...{
                return this.page_Delete;
            }
            set
            ...{
                this.page_Delete = value;
            }
        }
        public string Page_Index
        ...{
            get
            ...{
                return this.page_Index;
            }
            set
            ...{
                this.page_Index = value;
            }
        }
        public Navigation01.Mode Page_Mode
        ...{
            get
            ...{
                return this.page_Mode;
            }
            set
            ...{
                this.page_Mode = value;
            }
        }
        public string Page_Modify
        ...{
            get
            ...{
                return this.page_Modify;
            }
            set
            ...{
                this.page_Modify = value;
            }
        }
        public string Page_Search
        ...{
            get
            ...{
                return this.page_Search;
            }
            set
            ...{
                this.page_Search = value;
            }
        }
        public string Page_Show
        ...{
            get
            ...{
                return this.page_Show;
            }
            set
            ...{
                this.page_Show = value;
            }
        }
        [DefaultValue(""), Bindable(true), Category("Appearance")]
        public int Page_Width

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。