private void CreateTypeIcon() { typeIcon = IconFactory.CreateEventType(type, fillTypeIcon, IconColor, Background); if (typeIcon != null) { typeIcon = IconFactory.CreatePlacedIcon(typeIcon, BpmnConstants.EventTypePlacement, SizeD.Empty); } }