⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ordate.ascx.cs

📁 医疗决策支持系统
💻 CS
字号:
namespace Caisis.UI.Modules.All.Eforms
{
	using System;
	using System.Data;
	using System.Drawing;
	using System.Web;
	using System.Web.UI.WebControls;
	using System.Web.UI.HtmlControls;

	using Caisis.UI.Core;
	
	using Caisis.BusinessObject;

	using Caisis.UI.Core.Classes;


	/// <summary>
	///		Summary description for ORDate.
	/// </summary>
	public class ORDate : BaseEFormControl
	{
		//protected EformTextBox ORDateText; 
		//protected EformHidden ORDateField;
		//protected HtmlImage ORDateTextCal;

		protected override void Page_Load(object sender, System.EventArgs e)
		{
		
			// calendar function is now a property of the field
			//PageUtil.AddCalendarFunction(ORDateTextCal, ORDateText);
			//ORDateText.Attributes.Add("onBlur", "fuzzyDate(" + ORDateText.ClientID.ToString() + ", " + ORDateField.ClientID.ToString() + ");");

		
			// postback handled in base
			base.Page_Load(sender, e);
		
			// default OR date to today, must come after call to base page_load
			//if(ORDateText.Value.Equals(""))
			//{
			//	ORDateText.Value = DateTime.Now.ToShortDateString(); 
			//	ORDateField.Value = DateTime.Now.ToString();
				
			//}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -