private void WorkListModellChanged(WorkListModell OldValue, WorkListModell NewValue)
			{
			if (NewValue != null)
				NewValue.RemoveSelection += Class =>
					{
					if (WorkListDataList.SelectedItems.Contains (Class))
						WorkListDataList.SelectedItems.Remove (Class);
					};
			}
		private void WorkListModellInstanceChanged(WorkListModell OldValue, WorkListModell NewValue)
			{
			if (NewValue != null)
				NewValue.DoInformationenUpdateStartCall += DoInformationenUpdateStart;
			}
		private void WorkListModellInstanceChanged(WorkListModell OldValue,
			WorkListModell NewValue)
			{
			}
Exemplo n.º 4
0
		//public InformationenFull InformationFull { get; set; }


#endregion


#region Common Properties

		//private TemplateHandling.ITemplateReadWrite _searchInformationenInterface;
		//private ITemplateReadWrite SearchInformationenInterface
		//	{
		//	get
		//		{
		//		if (_searchInformationenInterface == null)
		//			_searchInformationenInterface = TemplateManagement.InformationenInterface.GetNewInstance ();
		//		return _searchInformationenInterface;
		//		}
		//	}

		//private ITemplateReadWrite _insertInformationenInterface;
		//private ITemplateReadWrite InsertInformationenInterface
		//	{
		//	get
		//		{
		//		if (_insertInformationenInterface == null)
		//			_insertInformationenInterface = TemplateManagement.InformationenInterface.GetNewInstance ();
		//		return _insertInformationenInterface;
		//		}
		//	}

		//private ITemplateReadWrite _modifyInformationenInterface;
		//private ITemplateReadWrite ModifyInformationenInterface
		//	{
		//	get
		//		{
		//		if (_modifyInformationenInterface == null)
		//			_modifyInformationenInterface = TemplateManagement.InformationenInterface.GetNewInstance ();
		//		return _modifyInformationenInterface;
		//		}
		//	set { _searchInformationenInterface = value; }
		//	}




		//private InformationenViewerDataModell _infoModell;
		//public InformationenViewerDataModell InfoModell
		//	{
		//	get
		//		{
		//		return InformationenViewerDataModell.GetGlobalReadonlyDataModell();
		//		}
		//	set { _infoModell = value; }
		//	}


#endregion


#region Startup

		public AltErlaaInfoRootControl ()
			{
			CommonSearchConfiguratorDataModellInstance = new CommonSearchConfiguratorDataModell ();
			CommonProfileModellInstance = new CommonProfileModell ();
			InitializeComponent ();
			this.DataContext = this;
			if (System.ComponentModel.DesignerProperties.GetIsInDesignMode (this))
				return;
			//Uri FirstTimeLoader = ServiceSource;
//			LoadingAllowed = false;
			WorkListModellInstance = new WorkListModell ();


			}