Exemple #1
0
        /// <summary>
        /// Adds a new <see cref="QuitMenuItem"/> to the list.
        /// </summary>
        public void AddQuitItem()
        {
            QuitMenuItem item = new QuitMenuItem(LibuiLibrary.uiMenuAppendQuitItem(Handle.DangerousGetHandle()));

            Items.Add(item);
        }
Exemple #2
0
        /// <summary>
        /// Adds a new <see cref="QuitMenuItem"/> to the list.
        /// </summary>
        public void AddQuitItem()
        {
            QuitMenuItem item = new QuitMenuItem(Libui.uiMenuAppendQuitItem(this));

            Items.Add(item);
        }