예제 #1
0
        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;
        }
예제 #2
0
 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);
        }