How to share code and icon between menu and toolbar

Nov 10, 2010 at 4:22 PM

Hi guys,

When I use Delphi, I can create Action Components and assign Icon and Click even code to them. I can link Action Components to menu item or toolbar button. So if anything need to change, like event handle code or icon, I just change the Actions will be OK. Is there any simulate way in .net platform?

Nov 15, 2010 at 4:47 AM

Hello dead_lee

I'm not familiar with Delphi, however, in .NET you can store all icons in Resources

and share code in a class library to be used by multiple projects.

Nov 15, 2010 at 1:51 PM

Thank you very much.