public static NavigationServiceSingleton CreateNavigationService(Frame frame)
        {
            NavigationServiceSingleton x = GetNavigationService();

            x.frame = frame;
            return(x);
        }
 public static NavigationServiceSingleton GetNavigationService()
 {
     if (navigation == null)
     {
         navigation = new NavigationServiceSingleton();
     }
     return(navigation);
 }