Example #1
0
        public void TextToSpeech(Guid documentId)
        {
            ProgressForm prForm = new ProgressForm();

            ThreadPool.QueueUserWorkItem(new WaitCallback(DoTextToSpeech), new TextToSpeechInfo(documentId, prForm));

            prForm.ShowDialog(MainForm);
        }
Example #2
0
        public void AddText(Guid documentId, string text)
        {
            ProgressForm prForm = new ProgressForm();

            ThreadPool.QueueUserWorkItem(new WaitCallback(DoAddText), new AddTextInfo(documentId, text, prForm));

            prForm.ShowDialog(MainForm);
        }