public KoolkLVItem createItem(Bitmap image, string name, bool viewName) { // This item is obfuscated and can not be translated. KoolkLVItem item = new KoolkLVItem { Dock = DockStyle.Bottom }; if (image.Width > 100 || image.Height > 100) { image = (Bitmap)KoolkLVItem.ResizeImage(image, 100, 100); } item.Image = image; item.viewName = viewName; item.Width = image.Width + 8; if (viewName) { item.Height = image.Height + 20; } else { item.Height = image.Height + 8; } item.Name = name; item.Field02 = false; base.Controls.Add(item); return(item); }