public SponsorViewController(Sponsor sponsor)
            : base("SponsorViewController", null)
        {
            Initialize ();

            _sponsor = sponsor;
        }
Exemplo n.º 2
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            _sponsor = PhoneApplicationService.Current.State["SelectedSponsor"] as CoreEntities.Sponsor;
            DataContext = _sponsor;
        }
Exemplo n.º 3
0
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            _sponsor    = PhoneApplicationService.Current.State["SelectedSponsor"] as CoreEntities.Sponsor;
            DataContext = _sponsor;
        }