public GuiListBox AddProcedureMultiSelector(string id, string tooltip, string parentId) { GuiListBox listbox = this.AddListBox(id, tooltip); listbox.AutoBindingControlParentID = parentId; listbox.BindingTag = "procedure"; BindMyMetaControl(listbox); return(listbox); }
/// <summary> /// Adds a GuiListBox to the form control collection. /// </summary> /// <param name="id">The id of this control</param> /// <param name="tooltip">The mouseover text of this control</param> /// <returns>The newly created control.</returns> public GuiListBox AddListBox(string id, string tooltip) { GuiListBox listbox = new GuiListBox(); listbox.ID = id; listbox.ToolTip = tooltip; AddGuiControl(listbox); return(listbox); }
/// <summary> /// Adds a GuiListBox to the form control collection. /// </summary> /// <param name="id">The id of this control</param> /// <param name="tooltip">The mouseover text of this control</param> /// <returns>The newly created control.</returns> public GuiListBox AddListBox(string id, string tooltip) { GuiListBox listbox = new GuiListBox(); listbox.ID = id; listbox.ToolTip = tooltip; AddGuiControl(listbox); return listbox; }