Beispiel #1
0
		void OnAdd()
		{
			var appItemViewModel = new AppItemViewModel(new MulticlientData());
			AppItems.Add(appItemViewModel);
			SelectedAppItem = AppItems.LastOrDefault();
			HasChanges = true;
		}
Beispiel #2
0
		public void Initialize(MulticlientConfiguration multiclientConfiguration)
		{
			if (multiclientConfiguration == null)
				return;

			foreach (var multiclientData in multiclientConfiguration.MulticlientDatas)
			{
				var appItemViewModel = new AppItemViewModel(multiclientData);
				AppItems.Add(appItemViewModel);
			}
			SelectedAppItem = AppItems.FirstOrDefault();
		}