/// <summary>
		/// Initializes a new instance of the <see cref="NuGenDayRenderEventArgs"/> class.
		/// </summary>
		public NuGenDayRenderEventArgs(Graphics graphics, Rectangle rect, DateTime date, NuGenDayState state)
		{
			this.m_graphics = graphics;
			this.m_rect = rect;
			this.m_date = date;
			this.m_state = state;
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenDayStateChangedEventArgs"/> class.
		/// </summary>
		public NuGenDayStateChangedEventArgs(string date, NuGenDayState oldState, NuGenDayState newState)
		{
			m_date = date;
			m_newState = newState;
			m_oldState = oldState;
			m_cancel = false;
		}
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NuGenDayRenderEventArgs"/> class.
 /// </summary>
 public NuGenDayRenderEventArgs(Graphics graphics, Rectangle rect, DateTime date, NuGenDayState state)
 {
     this.m_graphics = graphics;
     this.m_rect     = rect;
     this.m_date     = date;
     this.m_state    = state;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="NuGenDayStateChangedEventArgs"/> class.
 /// </summary>
 public NuGenDayStateChangedEventArgs(string date, NuGenDayState oldState, NuGenDayState newState)
 {
     m_date     = date;
     m_newState = newState;
     m_oldState = oldState;
     m_cancel   = false;
 }
		/// <summary>
		/// Initializes a new instance of the DayRenderEventArgs class with default settings
		/// </summary>
		public NuGenDayQueryInfoEventArgs(NuGenDateItem info, DateTime date, NuGenDayState state)
		{
			this.m_info = info;
			this.m_date = date;
			this.m_state = state;
		}
 /// <summary>
 /// Initializes a new instance of the DayRenderEventArgs class with default settings
 /// </summary>
 public NuGenDayQueryInfoEventArgs(NuGenDateItem info, DateTime date, NuGenDayState state)
 {
     this.m_info  = info;
     this.m_date  = date;
     this.m_state = state;
 }
예제 #7
0
        public Day()
		{
			m_state = NuGenDayState.Normal; 
			m_selection = -1;
			m_userDrawn = false;
    	}
예제 #8
0
파일: Day.cs 프로젝트: carlhuth/GenXSource
 public Day()
 {
     m_state     = NuGenDayState.Normal;
     m_selection = -1;
     m_userDrawn = false;
 }