public void Init(IEntityData dataConverter, IconLayoutType IconLayoutType, Size Size) { this.Size = Size; this.iconLayoutType = IconLayoutType; this.dataConverter = dataConverter; data = dataConverter.Convert(); if (!string.IsNullOrEmpty(this.data.Tip)) { this.toolTip1 = new ToolTip(); toolTip1.SetToolTip(this, this.data.Tip); } }