当前位置:开发者网络 >> 技术教程 >> .NET教程 >> 组件控件开发 >> 内容
精彩推荐
分类最新教程
分类热点教程
  
刚写好的Asp.Net时间和日期的Label控件。作为讲解Asp.net控件开发的第一部分:继承开发(5-1)
作者:未知
日期:2003-07-12
人气:
投稿:Andy.m(转贴)
来源:未知
字体:
收藏:加入浏览器收藏
以下正文:
//==========================================================================
//名称: ZYQ.WebControls.Cultural.DateTimePick.DateTimePickLabel
//       Asp.Net服务控件
//版本: 1.0.0.0
//作者: 张宇庆
//日期: 2003.2.12
//Email: raxzhang@sina.com
//说明: 本控件及源代码只是为《计算机世界》开发者俱乐部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
相关文章: