public KeyWordEditViewModel(KeyWordListViewModel _vm, KeyWordEditView _mw) { _KeyWordListVM = _vm; _Window = _mw; OperationType = OpType.Add; KeyWordObj = new KeyWordOR(); Init(); }
public KeyWordEditViewModel(KeyWordListViewModel _vm, KeyWordEditView _mw, KeyWordOR _KeyWordObj) { _KeyWordListVM = _vm; _Window = _mw; _SourceObj = _KeyWordObj; OperationType = OpType.Alert; KeyWordObj = new KeyWordOR(); KeyWordObj.Clone(_KeyWordObj); Init(); }
public KeyWordEditView(KeyWordListViewModel _List, KeyWordOR _KeyWord) { InitializeComponent(); this.DataContext = new KeyWordEditViewModel(_List, this, _KeyWord); }