Beispiel #1
0
        /// <summary>
        /// MainPage consists of two views - skill info (displays details about skill) and skill app (main skill execution)
        /// </summary>
        public MainPage()
        {
            this.InitializeComponent();
            // Instantiate parent skill class
            m_psSkill = new BackgroundReplacementSkillObj();

            // Set default view to SkillAppPage
            NavigateToView("BRSkillAppPage");
        }
Beispiel #2
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     m_paramsSkillObj = (BackgroundReplacementSkillObj)e.Parameter;
     base.OnNavigatedTo(e);
 }