/// <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;
		}
Beispiel #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;
 }
Beispiel #7
0
        public Day()
		{
			m_state = NuGenDayState.Normal; 
			m_selection = -1;
			m_userDrawn = false;
    	}
Beispiel #8
0
 public Day()
 {
     m_state     = NuGenDayState.Normal;
     m_selection = -1;
     m_userDrawn = false;
 }