private void printNotification(string message, Color textColor) { NotificationsText.SelectionStart = NotificationsText.TextLength; NotificationsText.SelectionLength = 0; NotificationsText.SelectionColor = textColor; NotificationsText.AppendText(message + Environment.NewLine); NotificationsText.SelectionColor = NotificationsText.ForeColor; }
private void ClearNotificationsButton_Click(object sender, EventArgs e) { NotificationsText.Clear(); }