using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Terminal.Gui {
///
/// Defines arguments for the event
///
public class MenuOpenedEventArgs : EventArgs{
///
/// Creates a new instance of the class
///
///
///
public MenuOpenedEventArgs (MenuBarItem parent, MenuItem menuItem)
{
Parent = parent;
MenuItem = menuItem;
}
///
/// The parent of . Will be null if menu opening
/// is the root (see ).
///
public MenuBarItem Parent { get; }
///
/// Gets the being opened.
///
public MenuItem MenuItem { get; }
}
}