コード例 #1
0
        private void RefreshTool()
        {
            var tool    = new CustomizeViewerActionModelTool();
            var actions = tool.Actions;

            _mainMenu    = actions.Select(a => a.ActionID == CustomizeViewerActionModelTool._mainMenuCustomizeId).First();
            _contextMenu = actions.Select(a => a.ActionID == CustomizeViewerActionModelTool._contextMenuCustomizeId).First();
        }
コード例 #2
0
        private void RefreshTool()
        {
            var tool = new CustomizeViewerActionModelTool();
            var actions = tool.Actions;

            _mainMenu = actions.Select(a => a.ActionID.EndsWith(CustomizeViewerActionModelTool._mainMenuCustomizeId)).First();
            _contextMenu = actions.Select(a => a.ActionID.EndsWith(CustomizeViewerActionModelTool._contextMenuCustomizeId)).First();
        }