Пример #1
0
 private void resetStatusStrip()
 {
     ToolStripStatusLabel1.Text      = "";
     ToolStripStatusLabel1.ForeColor = Color.Black;
     StatusStrip1.Refresh();
     ErrorRichTextBox.ResetText();
 }
Пример #2
0
        private void showStatusError(string message)
        {
            string displayMessage = "Exception: " + message;

            ToolStripStatusLabel1.Text      = displayMessage;
            ToolStripStatusLabel1.ForeColor = Color.Red;
            StatusStrip1.Refresh();
            //MessageBox.Show(displayMessage, "Error",MessageBoxButtons.OK, MessageBoxIcon.Error);
            ErrorRichTextBox.ResetText();
            ErrorRichTextBox.AppendText(displayMessage);
        }