using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Muchinfo.MTPClient.Data.Model.Sale;
using System.Windows;
namespace Muchinfo.MTPClient.Sale.ViewModels
{
///
/// 配号中签详细
///
///
///
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;
///
/// 当前选择配号中签
///
public DistributeBallot CurrentDistributeBallotItem
{
get
{
return _currentDistributeBallotItem;
}
set
{
Set(() => CurrentDistributeBallotItem, ref _currentDistributeBallotItem, value);
}
}
#endregion
#endregion "Public Properties To Get/Set "
#region "=========公共命令/Public Commands"
#region 窗口取消Command
///
/// 窗口取消
///
public RelayCommand CancelCommand
{
get
{
return new RelayCommand((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"
}
}