Example #1
0
        //public ConversionUnit SelectedExportedUnit
        //{
        //    get { return _guiNodeSampleModelModel.SelectedExportedUnit; }
        //    set
        //    {
        //        _guiNodeSampleModelModel.SelectedExportedUnit = value;
        //    }
        //}

        //public List<ConversionUnit> SelectedExportedUnitsSource
        //{
        //    get { return _guiNodeSampleModelModel.SelectedExportedUnitsSource; }
        //    set
        //    {
        //        _guiNodeSampleModelModel.SelectedExportedUnitsSource = value;
        //    }
        //}

        public GuiNodeSampleViewModel(GuiNodeSampleModel modelModel, NodeView nodeView)
        {
            _guiNodeSampleModelModel = modelModel;
            nodeViewModel            = nodeView.ViewModel;
            nodeModel = nodeView.ViewModel.NodeModel;
            modelModel.PropertyChanged += model_PropertyChanged;
        }
Example #2
0
 public GuiNodeSampleView(GuiNodeSampleModel Model, NodeView nodeView)
 {
     InitializeComponent();
 }