C# Component icon

I’m developing a plugin but I have a problem with the icon. If I convert to 16x16 ico it is okay but the resolution is terrible. If I change to 32x32 or bigger then it displays properly in the panel but when I add the component it shows a huge icon (even bigger than the image below for 64x64 ico):
image

Icons are 24x24 px.

2 Likes