//==========================================================================
//名称: 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.Drawing.Design;
using System.Globalization;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZYQ;
namespace ZYQ.WebControls.Cultural.DateTimePick
{
#region DateFormatOption
/// <summary>
/// 枚举类。DateTimeFormatInfo的日期和时间的格式类型
/// (Default,ShortDate,LongDate,FullDate,RFC1123,ISO8601,UniversalSortableDateTime,ShortTime,LongTime,MonthDay,YearMonth)
/// </summary>
public enum DateFormatOption
{
Customer,
ShortDate,
LongDate,
FullDate,
RFC1123,
ISO8601,
UniversalSortableDateTime,
ShortTime,
LongTime,
MonthDay,
YearMonth,
}
#endregion
#region FormatChangeEventArgs
/// <summary>
/// FormatChangeEventArgs: 继承自System.EventArgs.
/// 格式变化会触发。
/// </summary>
public class FormatChangeEventArgs: EventArgs
{
#region 私有变量声明
DTFormatSetting _dtSetting;
#endregion
#region 属性
/// <summary>
/// (get)返回 ZYQ.WebControls.cultural.DateTimePick.DTFormatSetting对象
/// </summary>
public DTFormatSetting DTSetting
{
get{return this._dtSetting;}
}
#endregion
#region 构造
public FormatChangeEventArgs(DTFormatSetting newSetting)
{
this._dtSetting = newSetting;
}
#endregion
}
#endregion
#region DateTimeF