18 lines
441 B
C#
18 lines
441 B
C#
using System;
|
|
using GalaSoft.MvvmLight;
|
|
using HandyControl.Controls;
|
|
using HandyControlDemo.UserControl;
|
|
#if netle40
|
|
using GalaSoft.MvvmLight.Command;
|
|
#else
|
|
using GalaSoft.MvvmLight.CommandWpf;
|
|
# endif
|
|
|
|
namespace HandyControlDemo
|
|
{
|
|
public class SpriteDemoViewModel : ViewModelBase
|
|
{
|
|
public RelayCommand OpenCmd => new Lazy<RelayCommand>(() =>
|
|
new RelayCommand(()=> Sprite.Show(new AppSprite()))).Value;
|
|
}
|
|
} |