コード例 #1
0
 public LinkageSetEditViewModel(LinkageSetListViewModel _vm, LinkageSetEditView _mw)
 {
     _LinkageSetListVM = _vm;
     _Window = _mw;
     OperationType = OpType.Add;
     LinkageSetObj = new LinkageSetOR();
     Init();
 }
コード例 #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();
        }
コード例 #3
0
 public LinkageSetEditView(LinkageSetListViewModel _List, LinkageSetOR _LinkageSet)
 {
     InitializeComponent();
     this.DataContext = new LinkageSetEditViewModel(_List, this, _LinkageSet);
 }