public howto() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; DispatcherTimer timer = new DispatcherTimer(); timer.Tick += timer_Tick; timer.Interval = new TimeSpan(0,0,2); bool enabled = timer.IsEnabled; timer.Start(); }
public aboutus() { this.navigationHelper = new NavigationHelper(this); this.InitializeComponent(); }