private KryptonPaletteCommon ( |
||
redirector | Palette redirector for sourcing inherited values. | |
needPaint | NeedPaintHandler | Delegate for notifying paint requests. |
Résultat | System |
internal KryptonPaletteCommon(PaletteRedirect redirector,
NeedPaintHandler needPaint)
{
Debug.Assert(redirector != null);
// Create the common palettes
_stateCommon = new PaletteTripleRedirect(redirector, PaletteBackStyle.ButtonStandalone, PaletteBorderStyle.ButtonStandalone, PaletteContentStyle.ButtonStandalone, needPaint);
_stateDisabled = new PaletteTriple(_stateCommon, needPaint);
_stateOthers = new PaletteTriple(_stateCommon, needPaint);
}