首页 > 编程 > .NET > 正文

刚写好的Asp.Net时间和日期的Label控件。作为讲解Asp.net控件开发的第一部分:继承开发

2024-07-10 13:03:57
字体:
来源:转载
供稿:网友

//==========================================================================
//名称: zyq.webcontrols.cultural.datetimepick.datetimepicklabel
//       asp.net服务控件
//版本: 1.0.0.0
//作者: 张宇庆
//日期: 2003.2.12
//email: [email protected]
//说明: 本控件及源代码只是为《计算机世界》开发者俱乐部asp.net论坛学习如何开发asp.net
//       服务器端控件而开发。未经本人同意请勿用作商业用途。
//
//==========================================================================
using system;
using system.globalization;
using system.drawing;
using system.collections;
using system.componentmodel;
using system.windows.forms;
using system.data;
using zyq;
using zyq.webcontrols.cultural.datetimepick;   
namespace zyq.webcontrols.cultural.design
{
    /// <summary>
    /// form1 的摘要说明。
    /// </summary>
    public class datetimepickeditor : system.windows.forms.form
    {
        #region 私有窗体变量
        private system.windows.forms.textbox txtname;
        private system.windows.forms.label lblrfc1766id;
        private system.windows.forms.label lblcultures;
        private system.windows.forms.combobox cbcultures;
        private system.windows.forms.label lblallcalendars;
        private system.windows.forms.combobox cboptionalcalendars;
        private system.windows.forms.label lblpostmeridiem;
        private system.windows.forms.label lbltimeseparator;
        private system.windows.forms.label lbldateseparator;
        private system.windows.forms.label lblantemeridiem;
        private system.windows.forms.label label1;
        private system.windows.forms.label label2;
        private system.windows.forms.label lblexmple;
        private system.windows.forms.button btnok;
        private system.windows.forms.button btncancel;
        private system.windows.forms.label label3;
        private system.windows.forms.textbox txtformat;
        private system.windows.forms.combobox cbshortlongdatepattern;
        private system.windows.forms.combobox cbformate;
        private system.windows.forms.label txtdateseparator;
        private system.windows.forms.label txtam;
        private system.windows.forms.label txtpm;
        private system.windows.forms.label txttimeseparator;
        #endregion
        #region 私有属性变量
        private zyq.zyqcultrueinfo curi;
        private dtformatsetting _dtf;
        #endregion
        #region 属性
        internal dtformatsetting designersetting
        {
            get
            {
                return this._dtf;
            }
            set
            {
                this._dtf =value;
            }
        }
        #endregion
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表