Esempio n. 1
0
        public EditElementViewModel(ILogicElementEditorViewModel sourceViewModel)
        {
            this._sourceViewModel              = sourceViewModel;
            this.EditableEditorViewModel       = (ILogicElementEditorViewModel)this._sourceViewModel.Clone();
            this.EditableEditorViewModel.Model = this._sourceViewModel.Model;

            this.OkCommand     = new RelayCommand <Window>(this.OnOkCommand);
            this.CancelCommand = new RelayCommand <Window>(this.OnCloseCommand);
        }
Esempio n. 2
0
 public DragEditorElement(ILogicElementEditorViewModel item)
 {
     this.Item = item;
 }