Example #1
0
        public int CreatePresentations()
        {
            int namesProcessed = 0;

            ProcessTextBox.Text = string.Empty;


            //  this is also the trust ID
            List <string> names = GetNamesList();

            ProcessTextBox.AppendText("Processing: ");


            if (BuildPowerPointFile(names))
            {
                ProcessTextBox.AppendText(" - done");
                namesProcessed++;
            }

            ProcessTextBox.AppendText(Environment.NewLine);
            ProcessTextBox.ScrollToEnd();
            //ProcessedCount.Text = namesProcessed.ToString();

            ScreenEvents.DoEvents();


            return(namesProcessed);
        }