The main menu is defined in the DevExShellLayoutView or DotNetShellLsyoutView (in their respective IdeaBlade.Cab assemblies) and is registered with the root workitem as a UIExtension site in the view's RegisterUIExtensionSites() method.
Examples of adding items to the main menu may be found in:
DevExShellLayoutViewPresenter (read UIElementBuilider for an example of reading menu information from App.config)
and
DotNetShellLayoutViewPresenter (examples of adding menu items at several registered UIExtensionSites.
Attach a handler to the command object invoked by the menu item. It turns out that the CAB framework provides an attribute that accomplishes this, as in this example from FoundationModule.cs:
/// <summary>Called when the user asks to show the Help | About.</summary>
[
CommandHandler(CommandNames.HelpAbout)]
public void OnHelpAbout(object sender, EventArgs e) {
ShowHelpAbout();
}
If the do pop up forms can they be done in any way? Can we have the forms added to the Workspace?
See my discussion with Mykel in the thread "Displaying Forms Modally".
I see the BonusSkins.Register. But how do I just do one of them.
I'm not sure I understand the question. I'm not an expert on DevEx, but the bonus skins are registered in ShellApplication.cs. Then, in DevExShwllLayoutViewPresenter.cs, a new instance of SkinMenu is added to the main menu UIExtensionSite. The SkinMenu handles selection of skins (without the use of the command pattern).
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum