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

📄 calendarday.cs

📁 不错的人事管理系统
💻 CS
字号:
using System;

namespace System.Web.UI.WebControls
{
	/// <summary>
	/// Summary description for CalendarDay.
	/// </summary>
	public class CalendarDay
	{
    private System.DateTime date;
    private bool isSelectable;
    private bool isToday;
    private bool isWeekend;
    private bool isOtherMonth;
    private bool isSelected;
    private string dayNumberText;

		public CalendarDay(DateTime date, bool isWeekend, bool isToday, bool isSelected, bool isOtherMonth, string dayNumberText) : base() 
		{
			this.date = date;
			this.isWeekend = isWeekend;
			this.isToday = isToday;
			this.isOtherMonth = isOtherMonth;
			this.isSelected = isSelected;
			this.dayNumberText = dayNumberText;
		}

		public DateTime Date 
		{
			get
			{
				return this.date;
			}
		}

		public string DayNumberText 
		{
			get
			{
				return this.dayNumberText;
			}
		}

		public bool IsOtherMonth 
		{
			get
			{
				return this.isOtherMonth;
			}
		}

		public bool IsSelectable
		{
			get
			{
				return this.isSelectable;
			}
			set
			{
				this.isSelectable = value;
			}
		}

		public bool IsSelected 
		{
			get
			{
				return this.isSelected;
			}
		}

		public bool IsToday 
		{
			get
			{
				return this.isToday;
			}
		}

		public bool IsWeekend 
		{
			get
			{
				return this.isWeekend;
			}
		}
	}
}

⌨️ 快捷键说明

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