// Regner ut ** ALLE ** seriene
        public static void calculateAllSeriesAndEpisodes(NordubbProductions productions, string searchString, ListBox flowLayoutPanel1, CheckBox chckIntro, TextBlock lblTotalNumLines)
        {
            int totNumLines = 0;

            foreach (var item in productions.productions)
            {
                //string seriesName = "";

                List <Episode> episodeList = calculateSearchResultsByEpisode(item.frontPageDataTable, searchString);

                if (episodeList.Count > 0)
                {
                    //seriesName = item.seriesName.ToString();
                    totNumLines = totNumLines + PrintResult.printResultByEpisode(episodeList, flowLayoutPanel1, chckIntro);
                }

                // Må gi Utskriften en mulighet til å skrive ut navn på eps
            }
            ;

            decimal t = decimal.Round((Convert.ToDecimal(totNumLines) / 90), 2);

            lblTotalNumLines.Text = "TOTALT antall replikker: " + totNumLines.ToString() + ".  Det vil ta " + t + " timer å dubbe ferdig.";

            //TextBlockProps.TotNumLines = "TOTALT antall replikker: " + totNumLines.ToString() + ".  Det vil ta " + t + " timer å dubbe ferdig.";
        }
        // REGNER UT ** EN ** SERIE
        public static void calculateByOneEpisode(DataTable dt, string searchString, ListBox flowLayoutPanel1, CheckBox chckIntro, string linesPrEpisode, TextBlock lblTotalNumLines)
        {
            //MyVariables.searchType

            List <Episode> episodeList = Calculations.calculateSearchResultsByEpisode(dt, searchString);

            int     totNumLines = PrintResult.printResultByEpisode(episodeList, flowLayoutPanel1, chckIntro);
            decimal t           = decimal.Round((Convert.ToDecimal(totNumLines) / Convert.ToInt32(linesPrEpisode)), 2);

            lblTotalNumLines.Text = "TOTALT antall replikker: " + Convert.ToString(totNumLines) + ". Det vil ta " + t + " timer å dubbe ferdig.";
        }