public HResult CreateCommandBarComboBox(Guid id, Guid fillCommand, int priority, out INiCommandBarComboBox comboBox) { comboBox = null; try { comboBox = new NiCommandBarComboBox(id, fillCommand, priority); _objects[id] = comboBox; return(HResult.OK); } catch (Exception ex) { return(ErrorUtil.GetHResult(ex)); } }
public HResult CreateCommandBarComboBox(Guid id, Guid fillCommand, int priority, out INiCommandBarComboBox comboBox) { comboBox = null; try { comboBox = new NiCommandBarComboBox(id, fillCommand, priority); _objects[id] = comboBox; return HResult.OK; } catch (Exception ex) { return ErrorUtil.GetHResult(ex); } }