public MainteEditViewModel(MainteListViewModel _vm, MainteEditView _mw) { _MainteListVM = _vm; _Window = _mw; OperationType = OpType.Add; MainteObj = new MainteOR(); Init(); }
public MainteEditViewModel(MainteListViewModel _vm, MainteEditView _mw, MainteOR _MainteObj) { _MainteListVM = _vm; _Window = _mw; _SourceObj = _MainteObj; OperationType = OpType.Alert; MainteObj = new MainteOR(); MainteObj.Clone(_MainteObj); Init(); }
public MainteEditView(MainteListViewModel _List, MainteOR _Mainte) { InitializeComponent(); this.DataContext = new MainteEditViewModel(_List, this, _Mainte); }