| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- using GalaSoft.MvvmLight;
- using GalaSoft.MvvmLight.Command;
- using Muchinfo.MTPClient.Data.Model.Sale;
- using System.Windows;
- namespace Muchinfo.MTPClient.Sale.ViewModels
- {
- /// <summary>
- /// 配号中签详细
- /// <para>
- /// </para>
- /// </summary>
- public class DistributeBallotDetailViewModel : ViewModelBase
- {
- #region "=========私有成员/Private Data Members"
- //To declare private service data
- #endregion "Private Data Members"
- #region "=========构造函数/Constructor/Initialization"
- public DistributeBallotDetailViewModel(DistributeBallot orderItem)
- {
- this.CurrentDistributeBallotItem = orderItem;
- }
- #endregion "Constructor/Initialization"
- #region "=========接口重写/Interface implementation Or override"
- //To do interface implementation
- #endregion "Interface implementation Or override"
- #region "=========公共属性/Public Properties To Get/Set "
- #region 当前选择配号中签
- private DistributeBallot _currentDistributeBallotItem;
- /// <summary>
- /// 当前选择配号中签
- /// </summary>
- public DistributeBallot CurrentDistributeBallotItem
- {
- get
- {
- return _currentDistributeBallotItem;
- }
- set
- {
- Set(() => CurrentDistributeBallotItem, ref _currentDistributeBallotItem, value);
- }
- }
- #endregion
- #endregion "Public Properties To Get/Set "
- #region "=========公共命令/Public Commands"
- #region 窗口取消Command
- /// <summary>
- /// 窗口取消
- /// </summary>
- public RelayCommand<Window> CancelCommand
- {
- get
- {
- return new RelayCommand<Window>((dialog) =>
- {
- dialog.DialogResult = false;
- });
- }
- }
- #endregion
- #endregion "Public Commands"
- #region "=========私有方法/Private Methods"
- //To to something
- #endregion "Private Methods"
- #region "=========其它方法/Other Methods"
- //To to something
- #endregion "Other Methods"
-
-
- }
- }
|