AddSimpleInchingViewModel.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. using Prism.Commands;
  2. using Prism.Events;
  3. using Prism.Ioc;
  4. using Prism.Mvvm;
  5. using Prism.Services.Dialogs;
  6. using System;
  7. using System.Collections.Generic;
  8. using System.Collections.ObjectModel;
  9. using System.Linq;
  10. using System.Windows.Media.Media3D;
  11. using TeamAAS_VP.Models;
  12. namespace TeamAAS_VP.ViewModels.DebugMod
  13. {
  14. public class AddSimpleInchingViewModel : BindableBase
  15. {
  16. IContainerProvider _container;
  17. IEventAggregator _eventAggregator;
  18. #region 属性
  19. private UserInching _UserInching;
  20. public UserInching UserInching
  21. {
  22. get { return _UserInching; }
  23. set { SetProperty(ref _UserInching, value); }
  24. }
  25. #endregion
  26. #region 命令
  27. private DelegateCommand _ConfirmCommand;
  28. public DelegateCommand ConfirmCommand =>
  29. _ConfirmCommand ?? (_ConfirmCommand = new DelegateCommand(ExecuteConfirmCommand));
  30. private DelegateCommand _CancelCommand;
  31. public DelegateCommand CancelCommand =>
  32. _CancelCommand ?? (_CancelCommand = new DelegateCommand(ExecuteCancelCommand));
  33. #endregion
  34. #region 事件
  35. #endregion
  36. public AddSimpleInchingViewModel(IContainerProvider container, IEventAggregator ea)
  37. {
  38. _container = container;
  39. _eventAggregator = ea;
  40. }
  41. #region 方法
  42. void ExecuteConfirmCommand()
  43. {
  44. }
  45. void ExecuteCancelCommand()
  46. {
  47. }
  48. #endregion
  49. }
  50. }