private object OnComboBoxRef(ComboBoxRef comboBoxRef) { INiCommandBarControl control; ErrorUtil.ThrowOnFailure(_commandManager.FindCommandBarControl( comboBoxRef.Guid, out control )); if (control == null) { throw new NetIdeException(String.Format(NeutralResources.CannotFindCommand, comboBoxRef.Guid)); } return(control); }
private object OnComboBoxRef(ComboBoxRef comboBoxRef) { INiCommandBarControl control; ErrorUtil.ThrowOnFailure(_commandManager.FindCommandBarControl( comboBoxRef.Guid, out control )); if (control == null) throw new NetIdeException(String.Format(NeutralResources.CannotFindCommand, comboBoxRef.Guid)); return control; }