예제 #1
0
		private void UserControl_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
		{
			_model = DataContext as LicenceViewModel;
			if (_model != null)
			{
				_model.InitData();
			}
		}
예제 #2
0
        public ConfigurationModel()
        {
            OptionsModel = new MainViewModel();
            OptionsModel.AppModel = this;

            RenderingModel = new RenderingSets(this);
			LicenceModel = new LicenceViewModel();
			LicenceModel.AppModel = this;
            Instance = this;
        }