Northwoods.Go Assembly > Northwoods.Go Namespace > GoGeneralNode Class > CreateIcon Method : CreateIcon(ImageList,Int32) Method |
protected virtual GoObject CreateIcon(System.Windows.Forms.ImageList imglist, int imgindex) { GoNodeIcon ni = new GoNodeIcon(); ni.ImageList = imglist; ni.Index = imgindex; ni.MinimumIconSize = new SizeF(20, 20); ni.MaximumIconSize = new SizeF(1000, 2000); ni.Size = ni.MinimumIconSize; return ni; }
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2