Exemplo n.º 1
0
        /// <summary>
        /// Get/Set a color entry using a <see cref="AbstractColorPairType"/>
        /// </summary>
        /// <remarks>
        ///	Custom indexer that translates a <see cref="AbstractColorPairType"/>
        /// to the appropriate index for the base class
        /// </remarks>
        private Color this[AbstractColorPairType colorPairType] {
            get {
                return(base[(int)colorPairType]);
            }

            set {
                base[(int)colorPairType] = value;
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Construct a new ColorChangeEventArgs with the specified
 /// value
 /// </summary>
 /// <param name="colorPairType">The index of the color entry that changed</param>
 public ColorChangeEventArgs(AbstractColorPairType colorPairType)
 {
     this.colorPairType = colorPairType;
 }
Exemplo n.º 3
0
			/// <summary>
			/// Construct a new ColorChangeEventArgs with the specified
			/// value
			/// </summary>
			/// <param name="colorPairType">The index of the color entry that changed</param>
			public ColorChangeEventArgs(AbstractColorPairType colorPairType) {
				this.colorPairType = colorPairType ;
			}
Exemplo n.º 4
0
		/// <summary>
		/// Get/Set a color entry using a <see cref="AbstractColorPairType"/>
		/// </summary>
		/// <remarks>
		///	Custom indexer that translates a <see cref="AbstractColorPairType"/>
		/// to the appropriate index for the base class		
		/// </remarks>
		private Color this[AbstractColorPairType colorPairType] {
			get {
				return base[(int) colorPairType] ;
			}

			set {
				base[(int) colorPairType] = value ;
			}
		}