protected override void Initialize()
{
Debug.WriteLine (string.Format(CultureInfo.CurrentCulture, "Entering Initialize() of: {0}", this.ToString()));
base.Initialize();
// Add our command handlers for menu (commands must exist in the .vsct file)
OleMenuCommandService mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;
if ( null != mcs )
{
// Create the command for the menu item.
/*CommandID menuCommandID = new CommandID(GuidList.guidMDCommentCmdSet, (int)PkgCmdIDList.cmdidMarkdownView);
MenuCommand menuItem = new MenuCommand(MenuItemCallback, menuCommandID );
mcs.AddCommand( menuItem );*/
// Create the command for the tool window
CommandID toolwndCommandID = new CommandID(GuidList.guidMDCommentCmdSet, (int)PkgCmdIDList.cmdidMarkdownViewWindow);
MenuCommand menuToolWin = new MenuCommand(ShowToolWindow, toolwndCommandID);
mcs.AddCommand( menuToolWin );
}
}