private void AttachAppMenu(ApplicationMenu menu) { _appMenu = menu; _appMenu.SelectionChanged += OnAppMenuSelectionChanged; }