/// <summary> /// Adds a GuiCheckBoxList 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 GuiCheckBoxList AddCheckBoxList(string id, string tooltip) { GuiCheckBoxList checkboxlist = new GuiCheckBoxList(); checkboxlist.ID = id; checkboxlist.ToolTip = tooltip; AddGuiControl(checkboxlist); return(checkboxlist); }
/// <summary> /// Adds a GuiCheckBoxList 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 GuiCheckBoxList AddCheckBoxList(string id, string tooltip) { GuiCheckBoxList checkboxlist = new GuiCheckBoxList(); checkboxlist.ID = id; checkboxlist.ToolTip = tooltip; AddGuiControl(checkboxlist); return checkboxlist; }