Пример #1
0
 public static void SetSmallImageList(ListView listView)
 {
     ShellAPI.SendMessage(listView.Handle, ShellAPI.WM.LVM_SETIMAGELIST, TVSIL_SMALL, smallImageListHandle);
 }
Пример #2
0
 public static void SetLargeImageList(ListView listView)
 {
     ShellAPI.SendMessage(listView.Handle, ShellAPI.WM.LVM_SETIMAGELIST, TVSIL_NORMAL, largeImageListHandle);
 }
Пример #3
0
 public static void SetSmallImageList(TreeView treeView)
 {
     ShellAPI.SendMessage(treeView.Handle, ShellAPI.WM.TVM_SETIMAGELIST, TVSIL_NORMAL, smallImageListHandle);
 }