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);
        }
Beispiel #2
0
        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));
        }
Beispiel #4
0
 public ImageCanvasViewModel(ITTImageProsessing prosessor)
 {
     Prosessor = prosessor;
 }
Beispiel #5
0
 public FrameInfoViewModel(ITTImageProsessing prosessor)
 {
     Prosessor = prosessor;
 }