public void ShowMessage(string message, string group, MessageType type) { MessageLabel.Text = message; MessageLabel.BackColor = type.GetColor(); if (type == MessageType.Success) { this.Close(); } }
public void ShowMessage(string message, string group, MessageType type) { this.StatusTextLabel.Text = message; this.StatusPictureBox.Image = ImageHelper.GetSolidImage(type.GetColor(), DefaultIconSize); }