async protected override void OnNavigatedTo(NavigationEventArgs e) { passData = e.Parameter as PassData; uri = new Uri(passData.BeginUri); //tblk.Text = uri.ToString(); //tblk.Text = passData.BeginUri; await RazborAsync(); base.OnNavigatedTo(e); }
async protected override void OnNavigatedTo(NavigationEventArgs e) { //Scenario scenario = e.Parameter as Scenario; //uri = new Uri(scenario.BeginUri); PassData passData = e.Parameter as PassData; uri = new Uri(passData.BeginUri); //Sectext.Text = uri.ToString(); await RazborAsync(); base.OnNavigatedTo(e); }
private void ScenarioControl_SelectionChanged(object sender, SelectionChangedEventArgs e) { //NotifyUser(String.Empty, NotifyType.StatusMessage); ListBox scenarioListBox = sender as ListBox; Scenario s = scenarioListBox.SelectedItem as Scenario; PassData passData = new PassData { BeginUri = s.Bi }; if (s != null) { ScenarioFrame.Navigate(s.ClassType, passData); if (Window.Current.Bounds.Width < 640) { Splitter.IsPaneOpen = false; } } }