Esempio n. 1
0
        public MainCategories()
        {
            this.InitializeComponent();
            this.Loaded += MainCategories_Loaded;

            AppData.GetGeolocation();
            
            webServiceHandler = new WebServiceHandler();

            if (ApplicationData.Current.LocalSettings.Values.ContainsKey("whistleUser"))
                appUser = JsonConvert.DeserializeObject<WhistleUser>(ApplicationData.Current.LocalSettings.Values["whistleUser"].ToString());
            
        }
Esempio n. 2
0
 public WhistlerListViewModel()
 {
     webServiceHandler = new WebServiceHandler();
 }
 public  MainCategoriesViewModel()
 {
     webServiceHandler = new WebServiceHandler();
 }
Esempio n. 4
0
 public void MainPage_Loaded(object sender, RoutedEventArgs e)
 {
     webServiceHandler = new WebServiceHandler();
     applicationUser = WhistleUser.GetInstance();
 }