public ExperimentPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            ExperimentTitleList = new List<string>
            {
                "Storyboard Scrub", 
                "Clock",
                Whatever,
                Whatever,
                Whatever,
                Whatever,
                Whatever,
                Whatever,
                Whatever,
                "Storyboard Scrub", 
                "Clock",
                Whatever,
                Whatever,
                Whatever,
            };

            DataContext = this;
            list.SelectionChanged += ListOnSelectionChanged;
        }
 public ShowcasePage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
示例#3
0
        public ClockPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            _timer = new DispatcherTimer();
            _timer.Tick += TimerOnTick;
            _timer.Interval = TimeSpan.FromSeconds(1.0);
        }