private void Image_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     if (_setApplicationImageCommand.CanExecute(null))
     {
         _setApplicationImageCommand.Execute(null);
     }
 }
示例#2
0
        public void SetAppImage()
        {
            if (!SetApplicationImageCommand.CanExecute(null))
            {
                return;
            }

            SetApplicationImageCommand.Execute(null);
        }
示例#3
0
 private void Image_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     if (_setApplicationImageCommand.CanExecute(null))
     {
         _setApplicationImageCommand.Execute(null);
         ViewModel.RaiseApplicationChangedEvent();
         e.Handled = true;
     }
 }