示例#1
0
        public IntervalPage()
        {
            InitializeComponent();

            BuildApplicationBar();

            _viewModel  = new IntervalPageViewModel();
            DataContext = _viewModel;
        }
示例#2
0
 private void RemoveAllBlocks(object sender, EventArgs e)
 {
     _viewModel.Stop();
     _viewModel       = new IntervalPageViewModel();
     this.DataContext = _viewModel;
 }