ComponentFactory.Krypton.Toolkit.KryptonPaletteImagesCheckBox.KryptonPaletteImagesCheckBox C# (CSharp) Method

KryptonPaletteImagesCheckBox() public method

Initialize a new instance of the KryptonPaletteImagesCheckBox class.
public KryptonPaletteImagesCheckBox ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Redirector to inherit values from.
needPaint NeedPaintHandler Delegate for notifying paint requests.
return System
        public KryptonPaletteImagesCheckBox(PaletteRedirect redirect,
                                            NeedPaintHandler needPaint)
        {
            // Store the redirector
            _redirect = redirect;

            // Store the provided paint notification delegate
            NeedPaint = needPaint;

            // Create the storage
            _common = null;
            _uncheckedDisabled = null;
            _uncheckedNormal = null;
            _uncheckedTracking = null;
            _uncheckedPressed = null;
            _checkedDisabled = null;
            _checkedNormal = null;
            _checkedTracking = null;
            _checkedPressed = null;
            _indeterminateDisabled = null;
            _indeterminateNormal = null;
            _indeterminateTracking = null;
            _indeterminatePressed = null;
        }