Inheritance: NetIde.Shell.ServiceObject, INiCommandBarGroup
Beispiel #1
0
        public HResult CreateCommandBarGroup(Guid id, int priority, out INiCommandBarGroup group)
        {
            group = null;

            try
            {
                group = new NiCommandBarGroup(id, priority);

                _objects[id] = group;

                return(HResult.OK);
            }
            catch (Exception ex)
            {
                return(ErrorUtil.GetHResult(ex));
            }
        }
Beispiel #2
0
        public HResult CreateCommandBarGroup(Guid id, int priority, out INiCommandBarGroup group)
        {
            group = null;

            try
            {
                group = new NiCommandBarGroup(id, priority);

                _objects[id] = group;

                return HResult.OK;
            }
            catch (Exception ex)
            {
                return ErrorUtil.GetHResult(ex);
            }
        }