public ImportantPartRejesterWindowViewModel(ChildWindow aChildWindow, ImportantPartRejesterWindowState aWindowState, ImportantPartRejesterEntity aImportPartRejesterEntity)
 {
     childWindow = aChildWindow;
     WindowState = aWindowState;
     ImportantPartRejesterEntity = aImportPartRejesterEntity;
     Title = "生产令号:" + aImportPartRejesterEntity.ManufactureNumber;
     OnOk = new DelegateCommand(OnOkCommand);
     OnCancel = new DelegateCommand(OnCancelCommand);
 }
 public ImportantPartRejesterWindowViewModel(ChildWindow aChildWindow, ImportantPartRejesterWindowState aWindowState, ImportantPartRejesterEntity aImportPartRejesterEntity)
 {
     childWindow = aChildWindow;
     WindowState = aWindowState;
     ImportantPartRejesterEntity = aImportPartRejesterEntity;
     Title    = "生产令号:" + aImportPartRejesterEntity.ManufactureNumber;
     OnOk     = new DelegateCommand(OnOkCommand);
     OnCancel = new DelegateCommand(OnCancelCommand);
 }
示例#3
0
 public ImportantPartRejesterWindow(ImportantPartRejesterWindowState aWindowState, ImportantPartRejesterEntity aImportantPartRejesterEntity)
 {
     InitializeComponent();
     this.DataContext = new ImportantPartRejesterWindowViewModel(this, aWindowState, aImportantPartRejesterEntity);
 }
 public ImportantPartRejesterWindow(ImportantPartRejesterWindowState aWindowState, ImportantPartRejesterEntity aImportantPartRejesterEntity)
 {
     InitializeComponent();
     this.DataContext = new ImportantPartRejesterWindowViewModel(this, aWindowState, aImportantPartRejesterEntity);
 }