public LinkageSetEditViewModel(LinkageSetListViewModel _vm, LinkageSetEditView _mw) { _LinkageSetListVM = _vm; _Window = _mw; OperationType = OpType.Add; LinkageSetObj = new LinkageSetOR(); Init(); }
public LinkageSetEditViewModel(LinkageSetListViewModel _vm, LinkageSetEditView _mw, LinkageSetOR _LinkageSetObj) { _LinkageSetListVM = _vm; _Window = _mw; _SourceObj = _LinkageSetObj; OperationType = OpType.Alert; LinkageSetObj = new LinkageSetOR(); LinkageSetObj.Clone(_LinkageSetObj); Init(); }
public LinkageSetEditView(LinkageSetListViewModel _List, LinkageSetOR _LinkageSet) { InitializeComponent(); this.DataContext = new LinkageSetEditViewModel(_List, this, _LinkageSet); }