protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); Data = e.Parameter as WeatherRecord; if (Data == null) { throw new Exception("PANIC!"); } }
protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); Data = e.Parameter as WeatherRecord; if (Data == null) throw new Exception("PANIC!"); }