public TimeLinkageEditViewModel(TimeLinkageListViewModel _vm, TimeLinkageEditView _mw) { _TimeLinkageListVM = _vm; _Window = _mw; OperationType = OpType.Add; TimeLinkageObj = new TimeLinkageOR(); Init(); }
public TimeLinkageEditViewModel(TimeLinkageListViewModel _vm, TimeLinkageEditView _mw, TimeLinkageOR _TimeLinkageObj) { _TimeLinkageListVM = _vm; _Window = _mw; _SourceObj = _TimeLinkageObj; OperationType = OpType.Alert; TimeLinkageObj = new TimeLinkageOR(); TimeLinkageObj.Clone(_TimeLinkageObj); Init(); }
public TimeLinkageEditView(TimeLinkageListViewModel _List, TimeLinkageOR _TimeLinkage) { InitializeComponent(); this.DataContext = new TimeLinkageEditViewModel(_List, this, _TimeLinkage); }