Esempio n. 1
0
 // -- Consturctor, 需實作所有ICommand
 public GetOrder_ViewModel(Window_GetOrder parent)
 {
     parentWindow = parent;
     Model_Instance = new GetOrder_Model(this);
     Do_ExtractData = new RelayCommand(ExtractData, (x) => true);
     
 }
Esempio n. 2
0
 public JoinOrderViewModel(JoinOrderWindow parent)
 {
     parentWindow = parent;
     Model_Instance = new JoinOrderModel(this);
     joinOrderCommand = new RelayCommand(joinOrder, (x) => true);
  
 }
 public PatientBasedDataViewModal(PatientBasedDataWindow parent)
 {
     parentWindow = parent;
     Model_Instance = new PatientBasedDataModel(this);
     generatePatientBasedDataCommand = new RelayCommand(generatePatientBasedData, (x) => true);
 }
Esempio n. 4
0
 public ID_ViewModel(Window_ID parent)
 {
     parentWindow = parent;
     Model_Instance = new ID_Model(this);
     Do_StandarizeID = new RelayCommand(StandarizeID, (x) => true);
 }
Esempio n. 5
0
 // -- Consturctor, 需實作所有ICommand
 public GetGDViewModel(GetGDWindow parent)
 {
     parentWindow = parent;
     Model_Instance = new GetGDModel(this);
     Do_ExtractData = new RelayCommand(ExtractData, (x) => true);
 }
 public IDHashSplitter_ViewModel(Window_IDHashSplitter parentWindow)
 {
     this.parentWindow = parentWindow;
     Model_Instance = new IDHashSplitter_Model(this);
     Do_IDHashSplit = new RelayCommand(IDHashSplit, (x) => true);
 }