public void Execute(object parameter) { ImageViewer imageViewer = parameter as ImageViewer; imageViewer.MoveRight(); }
public bool CanExecute(object parameter) { ImageViewer imageViewer = parameter as ImageViewer; return(imageViewer.CanMoveRight()); }