AmazonScrape.MainWindow.AppendStatusMessage C# (CSharp) Méthode

AppendStatusMessage() private méthode

Displays a work progress message in the status textbox. Right now this only displays items that have failed validation. Mostly this is there to show that the application is working and isn't stalled out.
private AppendStatusMessage ( string message ) : void
message string
Résultat void
        void AppendStatusMessage(string message)
        {
            if (message == null || message == "") return;

            // Add results to the data grid as soon as they are available
            StatusTextBox.Text += Environment.NewLine + Environment.NewLine;
            StatusTextBox.Text += message;
            StatusTextBox.Focus();
            StatusTextBox.CaretIndex = StatusTextBox.Text.Length;
            StatusTextBox.ScrollToEnd();
        }