public MainPage()
		{
			this.InitializeComponent();

			this.NavigationCacheMode = NavigationCacheMode.Required;
			vm = Resources["vm"] as MainPageVM;
			Day.Value = DateTime.Now.DayOfYear;
			Hour.Value = DateTime.Now.TimeOfDay.TotalHours;
		}
Exemplo n.º 2
0
        public MainPage()
        {
            this.InitializeComponent();

            this.NavigationCacheMode = NavigationCacheMode.Required;
            vm                  = Resources["vm"] as MainPageVM;
            Day.Value           = DateTime.Now.DayOfYear;
            Hour.Value          = DateTime.Now.TimeOfDay.TotalHours;
            vm.PropertyChanged += Vm_PropertyChanged;
        }