ACAT.Extensions.Default.FunctionalAgents.LectureManager.LectureManagerMainForm.updateStatusField C# (CSharp) Method

updateStatusField() private method

Update the status bar on the form depending on the context
private updateStatusField ( ) : void
return void
        private void updateStatusField()
        {
            if (_formLoadComplete)
            {
                String status = String.Empty;

                if (_speaking)
                {
                    switch (Mode)
                    {
                        case SpeechMode.Paragraph:
                            status = "SPEAKING PARAGRAPH";
                            break;

                        case SpeechMode.All:
                            status = "SPEAKING ALL";
                            break;

                        case SpeechMode.Sentence:
                            status = "SPEAKING SENTENCE";
                            break;

                        default:
                            status = "SPEAKING";
                            break;
                    }
                }
                else if (_paused)
                {
                    status = "PAUSED";
                }

                Windows.SetText(lblStatus, status);
            }
        }