Create Custom Icons for Maps

Hi, I am new to the Access Control features and I want to create some custom Icons so that I can place them in a map and trigger some custom options via right-clicking them or with the menu. I took a look at the sample code :

I guess this would be all the icons

    private List<ACIconInfo> \_icons = new List<ACIconInfo>();

And a wasy to create them :

    private Icon PngToIcon(Image png)

    {

        Bitmap bitmap = new Bitmap(png);

        IntPtr icH = bitmap.GetHicon();

        Icon icon = System.Drawing.Icon.FromHandle(icH);

        bitmap.Dispose();

        return icon;

    }

But I cant find where I can actually create them

Rgds,

I have not tried this so there is an element of guessing, if does not fit let me know.. Here goes..

Looking at VideoOS.Platform.AccessControl.Elements.ACElement Class Reference I see the comment: The iconkey can be a key defined in the ACBuiltInIconKeys class or one that you have defined in the ACPlugin.GetIcons().