Esempio n. 1
0
        /// <summary>
        /// Add a button to the factory
        /// </summary>
        /// <param name="buttonType"></param>
        /// <returns></returns>
        public GridButtonBuilder Add(ButtonType buttonType)
        {
            GridButtonBuilder button = new GridButtonBuilder();

            button.Extend(buttonType);
            this.buttons.Add(button);

            return(button);
        }