public PaletteDataGridViewTripleStates(IPaletteTriple inherit, NeedPaintHandler needPaint) { Debug.Assert(inherit != null); // Store the provided paint notification delegate NeedPaint = needPaint; // Create storage that maps onto the inherit instances _back = new PaletteBack(inherit.PaletteBack, needPaint); _border = new PaletteBorder(inherit.PaletteBorder, needPaint); _content = new PaletteDataGridViewContentStates(inherit.PaletteContent, needPaint); }