/// <summary>
        /// Initializes a new instance of the <see cref="MainWindow" /> class.
        /// </summary>
        /// <param name="viewModel">The view model.</param>
        public MainWindow(MainViewModel viewModel)
        {
            InitializeComponent();
            ViewModel = viewModel;
            this.DataContext = ViewModel;

            Title = string.Format(
                "DeckBox to OCTGN Converter - {0}",
                Assembly.GetExecutingAssembly().GetName().Version.ToString());
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="MainWindow" /> class.
        /// </summary>
        /// <param name="viewModel">The view model.</param>
        public MainWindow(MainViewModel viewModel)
        {
            InitializeComponent();
            ViewModel = viewModel;
            this.DataContext = ViewModel;

            Title = string.Format(
                "DeckBox to OCTGN Converter - {0}",
                Assembly.GetExecutingAssembly().GetName().Version.ToString());

            ViewModel.PropertyChanged += (sender, e) =>
                {
                    switch (e.PropertyName.ToUpperInvariant())
                    {
                        case "ALLCARDSOFSELECTEDGAME":
                            // searchBox.AllCardsOfSelectedGame = ViewModel.AllCardsOfSelectedGame;
                            break;
                    }
                };
        }