/// <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; } }
/// <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; }
/// <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 ; }
/// <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 ; } }