Hi,
I am using ultraStatusBar6.3.1. I am using this status bar to unpin and pin the below section of windows split container. At the moment I am using the pin/unpin custom icon. I need the icon the same like dock-manager pin/unpin icon. Because on different operating system my custom icon remains same while dock-manager and other are changing according to windows theme.
Here the icon in circle needs to be same like dock-manger. Is there any way that I can extract the icon of dock-manager.
You can get the embedded resource stream from the dock assembly with something like this:
typeof(UltraDockManager).Assembly.GetManifestResourceStream("PinButton.ico");
Then you can create an icon from the stream. You may also have to convert it to a Bitmap by calling ToBitmap on the icon.
Thanks for reply,
I have tested you suggested code but it is returning null stream.