Пример #1
0
        public ThreadIconViewer()
        {
            _model = App.Model;

            if (_model != null)
            {
                _model.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(OnModelPropertyChanged);
            }
        }
Пример #2
0
        private void SelectDefaultSection(Pivot pivot)
        {
            AppDataModel model = App.Model;

            if (model != null)
            {
                int defaultIndex = (int)model.DefaultHomePage;
                pivot.SelectedIndex = defaultIndex;
            }
        }
Пример #3
0
 public SettingsViewModel()
 {
     appModel = App.Model;
 }