您的位置:首页 >> Web开发 >> ASP.NET >> ASP.Net实例 >> 正文
ASP.Net实例 RSS
 

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

http://www.rdxx.com 04年03月31日 09:14 互连网 我要投稿

关键词: 时间 , 日期 , 控件开发 , 继承 , 开发 , ASP.NET , 控件 , .NET , ASP
 
//==========================================================================
//名称: 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;

上一页 下一页


 
 
标签: 时间 , 日期 , 控件开发 , 继承 , 开发 , ASP.NET , 控件 , .NET , ASP 打印本文
 
 
  热点搜索
 
 
 



Valid XHTML 1.0 Transitional
Copyright ©2005 - 2008 Rdxx.Com,All Rights Reserved
收藏本页
收藏本站