public override void Execute()
        {
            var vm  = new ScaleViewModel(models);
            var dia = new ScaleDialog(vm);

            if (models.Window.ShowDialog(dia) != true)
            {
                return;
            }

            models.Images.ScaleImages(new Size3(vm.Width, vm.Height));
        }
 public ScaleDialog(ScaleViewModel viewModel)
 {
     InitializeComponent();
     DataContext = viewModel;
 }