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(() => new RelayCommand(()=> Sprite.Show(new AppSprite()))).Value; } }