Пример #1
0
        private void SetupReferenceMenu()
        {
            var mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;

            if (mcs != null)
            {
                fsiReferenceMenu = new FsiReferenceCommand(DTE.Value, mcs);
                fsiReferenceMenu.SetupCommands();
            }
        }
 private void SetupReferenceMenu()
 {
     var mcs = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;
     
     if (mcs != null)
     {
         fsiReferenceMenu = new FsiReferenceCommand(DTE.Value, mcs);
         fsiReferenceMenu.SetupCommands();
     }
 }