/// <summary> /// Displays a simple message in the display area along with the info icon /// before it. /// <seealso>Class ErrorDisplay</seealso> /// </summary> /// <param name="Message"> /// The message to display. /// </param> public void ShowMessage(string Message) { UserMessage = ""; Text = Message; Visible = true; ErrorDisplayType = ErrorDisplayTypes.Message; }
public void ShowMessage(string message) { ErrorDisplayType = ErrorDisplayTypes.Message; Message = message; visible = true; }
public void ShowError(string errorMessage) { ErrorDisplayType = ErrorDisplayTypes.Error; Message = errorMessage; visible = true; }
public void ShowError(string errorMessage) { this.ErrorDisplayType = ErrorDisplayTypes.Error; this.Message = errorMessage; this.visible = true; }