public QuickDropDialog(MetroWindow parent)
        {
            _parent = parent;
            InitializeComponent();

            InitDragAndDrop();
            IsOpen = true;
            PictureSlidesLabLogo.Source = ImageUtil.BitmapToImageSource(Properties.Resources.PictureSlidesLab);
        }
Пример #2
0
 public AdjustImageWindow()
 {
     InitializeComponent();
     ImageHolder.DataContext = thumbnailImageFile;
     MoveLeftImage.Source    = ImageUtil.BitmapToImageSource(Properties.Resources.Left);
     MoveUpImage.Source      = ImageUtil.BitmapToImageSource(Properties.Resources.Up);
     MoveDownImage.Source    = ImageUtil.BitmapToImageSource(Properties.Resources.Down);
     MoveRightImage.Source   = ImageUtil.BitmapToImageSource(Properties.Resources.Right);
     ZoomInImage.Source      = ImageUtil.BitmapToImageSource(Properties.Resources.PlusZoom);
     ZoomOutImage.Source     = ImageUtil.BitmapToImageSource(Properties.Resources.MinusZoom);
     AutoFitImage.Source     = ImageUtil.BitmapToImageSource(Properties.Resources.Fit);
 }