/// <summary>
		/// Initializes a new instance of the <see cref="NuGenSelectedDatesCollection"/> class.
		/// </summary>
		/// <exception cref="ArgumentNullException"><para><paramref name="owner"/> is <see langword="null"/>.</para></exception>
		public NuGenSelectedDatesCollection(NuGenCalendar owner) : base()
		{
			if (owner == null)
				throw new ArgumentNullException("owner");
							
			this.owner = owner;
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenSelectedDatesCollection"/> class.
		/// </summary>
		/// <exception cref="ArgumentNullException"><para><paramref name="owner"/> is <see langword="null"/>.</para></exception>	
		public NuGenSelectedDatesCollection(NuGenCalendar owner, NuGenSelectedDatesCollection dates) : this(owner)
		{			
			this.Add(dates);
		}
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenDateItemCollection"/> class.
		/// </summary>
		/// <exception cref="ArgumentNullException">
		/// <para><paramref name="owner"/> is <see langword="null"/>.</para>
		/// -or-
		/// <para><paramref name="dateItems"/> is <see langword="null"/>.</para>
		/// </exception>
		public NuGenDateItemCollection(NuGenCalendar owner, NuGenDateItemCollection dateItems) : this(owner)
		{
			this.Add(dateItems);
		}
예제 #4
0
			/// <summary>
			/// Initializes a new instance of the <see cref="KeyboardConfig"/> class.
			/// </summary>
			public KeyboardConfig(NuGenCalendar calendar)
			{
				m_up = Keys.Up;
				m_parent = calendar;
				m_down = Keys.Down;
				m_left = Keys.Left;
				m_right = Keys.Right;
				m_select = Keys.Space;
				m_nextMonth = Keys.PageUp;
				m_prevMonth = Keys.PageDown;
				m_nextYear = Keys.Home;
				m_prevYear = Keys.End;

			}
		/// <summary>
		/// Initializes a new instance of the <see cref="NuGenDateItemCollection"/> class.
		/// </summary>
		/// <exception cref="ArgumentNullException">
		/// <para><paramref name="owner"/> is <see langword="false"/>.</para>
		/// </exception>
		public NuGenDateItemCollection(NuGenCalendar owner) : base()
		{
			if (owner == null)
				throw new ArgumentNullException("owner");
							
			_owner = owner;
		}