public ContentViewModel(ITTImageProsessing prosessor) { Prosessor = prosessor; LoadImageCommand = new DelegateCommand(() => Prosessor.LoadImage()); SaveImageCommand = new DelegateCommand(() => Prosessor.SaveImage()); ResizeImageCommand = new DelegateCommand <object>(s => Prosessor.ResizeImage(s)); CropImageCommand = new DelegateCommand(() => Prosessor.CropImage()); CropTransparentImageCommand = new DelegateCommand(() => Prosessor.CropTransparentImage()); MergeImageCommand = new DelegateCommand(() => Prosessor.MergeImage()); SplitGifCommand = new DelegateCommand(testfoo); }
public CommandButtonViewModel(ITTImageProsessing prosessor) { Prosessor = prosessor; LoadImageCommand = new DelegateCommand(() => Prosessor.LoadImage()); SaveImageCommand = new DelegateCommand(() => Prosessor.SaveImage()); SavePsdLayerCommand = new DelegateCommand(() => Prosessor.SaveLayer()); ResizeImageCommand = new DelegateCommand <object>(s => Prosessor.ResizeImage(s)); CropImageCommand = new DelegateCommand(() => Prosessor.CropImage()); CropTransparentImageCommand = new DelegateCommand(() => Prosessor.CropTransparentImage()); MergeImageCommand = new DelegateCommand(() => Prosessor.MergeImage()); SplitGifCommand = new DelegateCommand(() => Prosessor.SplitGif()); }
public FrameListViewModel(ITTImageProsessing prosessor) { Prosessor = prosessor; SelectedCommand = new DelegateCommand <object[]>((items) => Prosessor.OnItemSelected(items)); }
public ImageCanvasViewModel(ITTImageProsessing prosessor) { Prosessor = prosessor; }
public FrameInfoViewModel(ITTImageProsessing prosessor) { Prosessor = prosessor; }