刚写好的Asp.Net时间和日期的Label控件。作为讲解Asp.net控件开发的第一部分:继承开发(5-1)
2007-12-15 09:32:11 来源:WEB开发网核心提示://==//名称: ZYQ.WebControls.Cultural.DateTimePick.DateTimePickLabel // Asp.Net服务控件//版本: 1.0.0.0//作者: 张宇庆//日期: 2003.2.12//Email: raxzhang@sina.com//说明: 本控件及源代码只是为《
//==========================================================================
//名称: 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;
//名称: 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;
[]
更多精彩
赞助商链接