/// <summary> /// Initialize a new instance of the KryptonPaletteHeaderGroup class. /// </summary> /// <param name="redirect">Inheritence redirection instance.</param> /// <param name="needPaint">Delegate for notifying paint requests.</param> public KryptonPaletteHeaderGroup(PaletteRedirect redirect, NeedPaintHandler needPaint) { Debug.Assert(redirect != null); // Create the storage objects _stateCommon = new KryptonPaletteHeaderGroupState(redirect, needPaint); }
/// <summary> /// Initialize a new instance of the KryptonPaletteHeaderGroup class. /// </summary> /// <param name="redirect">Inheritence redirection instance.</param> /// <param name="needPaint">Delegate for notifying paint requests.</param> public KryptonPaletteHeaderGroup(PaletteRedirect redirect, NeedPaintHandler needPaint) { Debug.Assert(redirect != null); // Create the storage objects StateCommon = new KryptonPaletteHeaderGroupState(redirect, needPaint); }