Exemplo n.º 1
0
 public LinkageSetEditViewModel(LinkageSetListViewModel _vm, LinkageSetEditView _mw)
 {
     _LinkageSetListVM = _vm;
     _Window = _mw;
     OperationType = OpType.Add;
     LinkageSetObj = new LinkageSetOR();
     Init();
 }
Exemplo n.º 2
0
        public LinkageSetEditViewModel(LinkageSetListViewModel _vm, LinkageSetEditView _mw, LinkageSetOR _LinkageSetObj)
        {
            _LinkageSetListVM = _vm;
            _Window = _mw;
            _SourceObj = _LinkageSetObj;

            OperationType = OpType.Alert;
            LinkageSetObj = new LinkageSetOR();
            LinkageSetObj.Clone(_LinkageSetObj);
            Init();
        }
Exemplo n.º 3
0
 public LinkageSetEditView(LinkageSetListViewModel _List, LinkageSetOR _LinkageSet)
 {
     InitializeComponent();
     this.DataContext = new LinkageSetEditViewModel(_List, this, _LinkageSet);
 }