public SourceListPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; DefaultViewModel = App.Kernel.Get<SourcePageViewModel>(); DataContext = DefaultViewModel; }
public Categories() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; DefaultViewModel = App.Kernel.Get<CategoriesViewModel>(); DataContext = DefaultViewModel; }
public FeedViewerPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; DefaultViewModel = App.Kernel.Get<FeedViewerPageViewModel>(); DataContext = DefaultViewModel; DefaultViewModel.Connection = IsConnection(); }
public FeedsPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; DefaultViewModel = App.Kernel.Get<FeedPageViewModel>(); DataContext = DefaultViewModel; DefaultViewModel.FeedUpdate = "Défilez vers le bas pour obtenir plus de flux"; }
public LoginPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; DefaultViewModel = App.Kernel.Get<LoginPageViewModel>(); DataContext = DefaultViewModel; if (_settings.Values.Count != 0) { LoginTextBox.Text = _settings.Values.ContainsKey("Login") ? _settings.Values["Login"] as String : String.Empty; } }