Inheritance: VsDevExpressMenuItem
コード例 #1
0
ファイル: MenuItems.cs プロジェクト: Xarlot/DXVcs2Git
 public void GenerateDefault()
 {
     devExpressMenu = new VSDevExpressMenu(dte);
     rootMenuHierarchy[string.Empty] = devExpressMenu;
     string wizardMenuText = "Create merge request...";
     VsDevExpressMenuItem mergeRequestMenu = devExpressMenu.CreateOrGetItem(wizardMenuText);
     mergeRequestMenu.Click += MergeRequestMenuOnClick;
     //string optionsMenuText = "Settings...";
     //VsDevExpressMenuItem optionsMenu = devExpressMenu.CreateOrGetItem(optionsMenuText);
     //optionsMenu.Click += OptionsMenuOnCLick;
 }
コード例 #2
0
        public void GenerateDefault()
        {
            devExpressMenu = new VSDevExpressMenu(dte);
            rootMenuHierarchy[string.Empty] = devExpressMenu;
            string wizardMenuText = "Create merge request...";
            VsDevExpressMenuItem mergeRequestMenu = devExpressMenu.CreateOrGetItem(wizardMenuText);

            mergeRequestMenu.Click += MergeRequestMenuOnClick;
            //string optionsMenuText = "Settings...";
            //VsDevExpressMenuItem optionsMenu = devExpressMenu.CreateOrGetItem(optionsMenuText);
            //optionsMenu.Click += OptionsMenuOnCLick;
        }