Esempio n. 1
0
        public PlacesPage()
        {
            InitializeComponent();

            // Set the data context of the LongListSelector control to the sample data
            DataContext = App.ViewModel;
            this.onLoadedEventHandler = new RoutedEventHandler(OnLoaded);
            this.Loaded += onLoadedEventHandler;
            settings = Settings.GetInstance();
            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
Esempio n. 2
0
 public static Settings GetInstance()
 {
     if (_instance == null)
         _instance=new Settings();
     return _instance;
 }