﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;

namespace Practical.ClickOnce
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
            List<Uri> paths = new List<Uri> {
                new Uri(string.Format("{0}\\images\\1.bmp", Directory.GetCurrentDirectory()), UriKind.RelativeOrAbsolute),
                new Uri(string.Format("{0}\\images\\2.bmp", Directory.GetCurrentDirectory()), UriKind.RelativeOrAbsolute),
                new Uri(string.Format("{0}\\images\\3.bmp", Directory.GetCurrentDirectory()), UriKind.RelativeOrAbsolute),
                new Uri(string.Format("{0}\\images\\4.bmp", Directory.GetCurrentDirectory()), UriKind.RelativeOrAbsolute),
                new Uri(string.Format("{0}\\images\\5.bmp", Directory.GetCurrentDirectory()), UriKind.RelativeOrAbsolute)
            };

            DataContext = paths;
        }
    }
}