private void resetStatusStrip() { ToolStripStatusLabel1.Text = ""; ToolStripStatusLabel1.ForeColor = Color.Black; StatusStrip1.Refresh(); ErrorRichTextBox.ResetText(); }
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); }