コード例 #1
0
 public TimeLinkageEditViewModel(TimeLinkageListViewModel _vm, TimeLinkageEditView _mw)
 {
     _TimeLinkageListVM = _vm;
     _Window = _mw;
     OperationType = OpType.Add;
     TimeLinkageObj = new TimeLinkageOR();
     Init();
 }
コード例 #2
0
        public TimeLinkageEditViewModel(TimeLinkageListViewModel _vm, TimeLinkageEditView _mw, TimeLinkageOR _TimeLinkageObj)
        {
            _TimeLinkageListVM = _vm;
            _Window = _mw;
            _SourceObj = _TimeLinkageObj;

            OperationType = OpType.Alert;
            TimeLinkageObj = new TimeLinkageOR();
            TimeLinkageObj.Clone(_TimeLinkageObj);
            Init();
        }
コード例 #3
0
 public TimeLinkageEditView(TimeLinkageListViewModel _List, TimeLinkageOR _TimeLinkage)
 {
     InitializeComponent();
     this.DataContext = new TimeLinkageEditViewModel(_List, this, _TimeLinkage);
 }