C# Class vbAccelerator.Components.ImageList.SysImageListHelper

Helper Methods for Connecting SysImageList to Common Controls
ファイルを表示 Open project: RevolutionSmythe/cairoshell Class Usage Examples

Public Methods

Method Description
SetListViewImageList ( ListView listView, SysImageList sysImageList, bool forStateImages ) : void

Associates a SysImageList with a ListView control

SetTreeViewImageList ( TreeView treeView, SysImageList sysImageList, bool forStateImages ) : void

Associates a SysImageList with a TreeView control

Private Methods

Method Description
SendMessage ( IntPtr hWnd, int wMsg, IntPtr wParam, IntPtr lParam ) : IntPtr

Method Details

SetListViewImageList() public static method

Associates a SysImageList with a ListView control
public static SetListViewImageList ( ListView listView, SysImageList sysImageList, bool forStateImages ) : void
listView System.Windows.Forms.ListView ListView control to associate ImageList with
sysImageList SysImageList System Image List to associate
forStateImages bool Whether to add ImageList as StateImageList
return void

SetTreeViewImageList() public static method

Associates a SysImageList with a TreeView control
public static SetTreeViewImageList ( TreeView treeView, SysImageList sysImageList, bool forStateImages ) : void
treeView System.Windows.Forms.TreeView TreeView control to associated ImageList with
sysImageList SysImageList System Image List to associate
forStateImages bool Whether to add ImageList as StateImageList
return void