private void MenuItemHome_Click_1(object sender, RoutedEventArgs e)
 {
     if (HomePage == null)
     {
         HomePage = new HomePageView();
     }
     mainFrame.Navigate(HomePage);
 }
 private void mainFrame_Loaded(object sender, RoutedEventArgs e)
 {
     if (HomePage == null)
     {
         HomePage = new HomePageView();
     }
     mainFrame.Navigate(HomePage);
 }