/// <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); }
/// <summary> /// Adds a new <see cref="QuitMenuItem"/> to the list. /// </summary> public void AddQuitItem() { QuitMenuItem item = new QuitMenuItem(Libui.uiMenuAppendQuitItem(this)); Items.Add(item); }