You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
621 B
26 lines
621 B
3 years ago
|
using GalaSoft.MvvmLight.Command;
|
||
|
using System.Windows.Input;
|
||
|
|
||
|
namespace BBWY.Client.ViewModels
|
||
|
{
|
||
|
public partial class OrderListViewModel
|
||
|
{
|
||
|
private int sdGroupButtonIndex;
|
||
|
|
||
|
public int SDGroupButtonIndex { get => sdGroupButtonIndex; set { Set(ref sdGroupButtonIndex, value); }}
|
||
|
|
||
|
public ICommand SetSDButtinIndexCommand { get; set; }
|
||
|
|
||
|
|
||
|
private void SDGroupInit()
|
||
|
{
|
||
|
SetSDButtinIndexCommand = new RelayCommand<int>(SetSDButtinIndex);
|
||
|
}
|
||
|
|
||
|
private void SetSDButtinIndex(int index)
|
||
|
{
|
||
|
SDGroupButtonIndex = index;
|
||
|
}
|
||
|
}
|
||
|
}
|