Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
		/// <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;
		}