コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
        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;
                }
            }
        }