ComponentFactory.Krypton.Toolkit.KryptonPaletteImagesContextMenu.KryptonPaletteImagesContextMenu C# (CSharp) Метод

KryptonPaletteImagesContextMenu() публичный Метод

Initialize a new instance of the KryptonPaletteImagesContextMenu class.
public KryptonPaletteImagesContextMenu ( PaletteRedirect redirect, NeedPaintHandler needPaint ) : System
redirect PaletteRedirect Redirector to inherit values from.
needPaint NeedPaintHandler Delegate for notifying paint requests.
Результат System
        public KryptonPaletteImagesContextMenu(PaletteRedirect redirect,
                                               NeedPaintHandler needPaint)
        {
            // Store the redirector
            _redirect = redirect;

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

            // Create the storage
            _checked = null;
            _indeterminate = null;
            _subMenu = null;
        }