GetToolbarImageList() static public method

static public GetToolbarImageList ( Type type, string resourceName, Size imageSize, Color transparentColor ) : ImageList
type System.Type
resourceName string
imageSize System.Drawing.Size
transparentColor Color
return System.Windows.Forms.ImageList
Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }