static MenuButton BuildOptions(Action exit) { var menu = new MenuButton("Options", image: Images.Options); menu.AddRange( new MenuButton("Exit", exit, Images.Exit), new MenuButton("Open logs", Logging.OpenDirectory, Images.Folder), new MenuButton("Raise issue", IssueLauncher.Launch, Images.Link)); return(menu); }