Example #1
0
        /// <summary>
        /// Adds a GuiGrid 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 GuiGrid AddGrid(string id, string tooltip)
        {
            GuiGrid grid = new GuiGrid();

            grid.ID      = id;
            grid.ToolTip = tooltip;

            AddGuiControl(grid);

            return(grid);
        }
		/// <summary>
		/// Adds a GuiGrid 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 GuiGrid AddGrid(string id, string tooltip) 
		{
			GuiGrid grid = new GuiGrid();
			grid.ID = id;
			grid.ToolTip = tooltip;

			AddGuiControl(grid);

			return grid;
		}