/// <summary> /// Create menu items for the main menu /// </summary> private void _CreateMenuItems() { //--- Iconset at: http://www.iconarchive.com/show/farm-fresh-icons-by-fatcow.1.html for more icons //--- Link to // http://www.doublejdesign.co.uk/, http://www.fatcow.com/free-icons // is required, TODO: Add link to the application var encryptUi = new EncryptUi.EncryptUi(); var decryptUi = new DecryptUi.DecryptUi(); MenuBar.AddMenuItem(new MenuItemControl("Info", () => RuntimeGlobals.Navigator.NavigateTo(new InfoPage()), WPFResourceHelper.ImageFromURL("IDPA_Steganographie", "Files\\Icons\\information.png"))); MenuBar.AddMenuItem(new MenuItemControl("Encrypt", () => RuntimeGlobals.Navigator.NavigateTo(encryptUi), WPFResourceHelper.ImageFromURL("IDPA_Steganographie", "Files\\Icons\\encrypt.ico"))); MenuBar.AddMenuItem(new MenuItemControl("Decrypt", () => RuntimeGlobals.Navigator.NavigateTo(decryptUi), WPFResourceHelper.ImageFromURL("IDPA_Steganographie", "Files\\Icons\\decrypt.ico"))); MenuBar.AddMenuItem(new MenuItemControl("Settings", () => RuntimeGlobals.Navigator.NavigateTo(new SettingsPage()), WPFResourceHelper.ImageFromURL("IDPA_Steganographie", "Files\\Icons\\wrench.ico"))); MenuBar.SelectFirst(); }