Habanero.Faces.Win.FormExceptionNotifier.CollapsibleExceptionNotifyForm.GetErrorLabel C# (CSharp) Method

GetErrorLabel() private static method

Creates the red error label that appears at the top
private static GetErrorLabel ( string message ) : ILabel
message string
return ILabel
            private static ILabel GetErrorLabel(string message)
            {
                ILabel messageLabel = _controlFactory.CreateLabel(" " + message, true);
                messageLabel.TextAlign = ContentAlignment.BottomLeft;
                messageLabel.BackColor = Color.Red;
                messageLabel.ForeColor = Color.White;
                return messageLabel;
            }