Storage for palette context menu images.
Inheritance: Storage
        /// <summary>
        /// Initialize a new instance of the KryptonPaletteImages class.
        /// </summary>
        /// <param name="redirector">Palette redirector for sourcing inherited values.</param>
        /// <param name="needPaint">Delegate for notifying paint requests.</param>
        internal KryptonPaletteImages(PaletteRedirect redirector,
                                      NeedPaintHandler needPaint)
        {
            Debug.Assert(redirector != null);

            // Create the different image sets
            CheckBox       = new KryptonPaletteImagesCheckBox(redirector, needPaint);
            ContextMenu    = new KryptonPaletteImagesContextMenu(redirector, needPaint);
            DropDownButton = new KryptonPaletteImagesDropDownButton(redirector, needPaint);
            GalleryButtons = new KryptonPaletteImagesGalleryButtons(redirector, needPaint);
            RadioButton    = new KryptonPaletteImagesRadioButton(redirector, needPaint);
            TreeView       = new KryptonPaletteImagesTreeView(redirector, needPaint);
        }
Esempio n. 2
0
        /// <summary>
        /// Initialize a new instance of the KryptonPaletteImages class.
        /// </summary>
        /// <param name="redirector">Palette redirector for sourcing inherited values.</param>
        /// <param name="needPaint">Delegate for notifying paint requests.</param>
        internal KryptonPaletteImages(PaletteRedirect redirector,
                                      NeedPaintHandler needPaint)
        {
            Debug.Assert(redirector != null);

            // Create the different image sets
            _imagesCheckBox = new KryptonPaletteImagesCheckBox(redirector, needPaint);
            _imagesContextMenu = new KryptonPaletteImagesContextMenu(redirector, needPaint);
            _imagesDropDownButton = new KryptonPaletteImagesDropDownButton(redirector, needPaint);
            _imagesGalleryButtons = new KryptonPaletteImagesGalleryButtons(redirector, needPaint);
            _imagesRadioButton = new KryptonPaletteImagesRadioButton(redirector, needPaint);
            _imagesTreeView = new KryptonPaletteImagesTreeView(redirector, needPaint);
        }