Esempio n. 1
0
        /// <summary>
        /// Adds a separator menu item.
        /// </summary>
        /// <param name="name">The name for the instance.</param>
        /// <returns>The separator menu item.</returns>
        public MenuItemSeparator AddSeparator(string name)
        {
            var item = new MenuItemSeparator(name);

            this.AddControl(item);
            this.MustRedraw = true;

            return(item);
        }
Esempio n. 2
0
        /// <summary>
        /// Adds a separator menu item.
        /// </summary>
        /// <param name="name">The name for the instance.</param>
        /// <returns>The separator menu item.</returns>
        public MenuItemSeparator AddSeparator(string name)
        {
            var item = new MenuItemSeparator(name);

            this.AddControl(item);
            this.MustRedraw = true;

            return item;
        }