/// <summary> /// Initializes a new instance of the CenterViewModel class. /// </summary> public CenterViewModel(Center center, TreeViewItemViewModel parentField) : base(parentField) { _center = center; //_center.CenterConnection.ConnectionChanged += _centerConection_ConnectionChanged; }
/// <summary> /// Initializes a new instance of the TreeViewItemViewModel class. /// </summary> protected TreeViewItemViewModel(TreeViewItemViewModel parent) { _parent = parent; _children = new ObservableCollection <TreeViewItemViewModel>(); }