using System.Windows;
using System.Windows.Input;


namespace VSview
{
    /// <summary>
    /// Interakční logika pro MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        //Reference to Main view model
        private MainViewModel ViewModel;

        //Main window constructor
        public MainWindow()
        {
            InitializeComponent();

            MaxHeight = SystemParameters.WorkArea.Height;

            //Create View model
            ViewModel = new MainViewModel();

            //Set binding path to view model
            this.DataContext = ViewModel;
        }
    }
}
