GetToolbarImageList() static public méthode

static public GetToolbarImageList ( Type type, string resourceName, Size imageSize, Color transparentColor ) : ImageList
type System.Type
resourceName string
imageSize System.Drawing.Size
transparentColor Color
Résultat System.Windows.Forms.ImageList
Exemple #1
0
        static public ImageList ImageList()
        {
            Type t = typeof(SelectorImages);

            if (m_imageList == null)
            {
                m_imageList = ImagesUtil.GetToolbarImageList(t, "ColorPickerCtrl.Resources.popupcontainerbuttons.bmp", new Size(16, 16), Color.Magenta);
            }
            return(m_imageList);
        }
Exemple #2
0
        static public ImageList ImageList()
        {
            Type t = typeof(SelectorImages);

            if (m_imageList == null)
            {
                m_imageList = ImagesUtil.GetToolbarImageList(t, "ColorPickerCtrl.Resources.colorbarIndicators.bmp", new Size(12, 12), Color.Magenta);
            }
            return(m_imageList);
        }