المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Creating a ContextMenu at runtime...



C# Programming
08-03-2009, 11:00 AM
I'm creating a static ContextMenu at runtime in program.cs, which works fine except that it has a slightly different visual style to ContextMenus created at design-time (doesn't highlight properly, menu items won't check, etc.) despite having all properties manually set to the default design-time specs.

Suggestions?