public DisplayVideo(KitchenMenu MenuItems, Func <string> NextVideo = null)
        {
            this.MenuItems = MenuItems ?? new KitchenMenu();
            this.NextVideo = NextVideo;

            InitializeComponent();

            Loaded           += DisplayVideo_Loaded;
            Items.ItemsSource = MenuItems.Entries;
        }
        public MainWindow()
        {
            InitializeComponent();

            KitchenMenu = new KitchenMenu();

            Files.ItemsSource   = Config.Default.IncludedFiles;
            Folders.ItemsSource = Config.Default.IncludedFolders;
            Host = new ApiHost
            {
                InitialLoad = LoadEntries
            }.Start();

            if (Host.EntryRepository != null)
            {
                KitchenMenu.Entries.AddRange(Host.EntryRepository.GetEntriesInRange(KitchenMenu.StartDate, KitchenMenu.EndDate));
            }

            Host.EntryUpdated += Host_EntryUpdated;
        }