예제 #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 IntruderDetectionSkillObj();

            // Set default view to SkillAppPage
            NavigateToView("IDSkillAppPage");
        }
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     m_paramsSkillObj = (IntruderDetectionSkillObj)e.Parameter;
     base.OnNavigatedTo(e);
 }