Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the TreeViewItemViewModel class.
        /// </summary>
        protected TreeViewItemViewModel(TreeViewItemViewModel parent)
        {
            _parent = parent;

            _children = new ObservableCollection <TreeViewItemViewModel>();
        }