Replace:
MessageBox.Show(P_Settings.NotificationMessageBoxes.Default.ProcessFinishedNotification,
P_Settings.NotificationMessageBoxes.Default.ProcessFinishedNotificationTitle,
MessageBoxButtons.YesNo, MessageBoxIcon.Question);
With:
MessageBox.Show(P_Settings.NotificationMessageBoxes.Default.ProcessFinishedNotification.Replace(@"\n", Environment.NewLine)),
P_Settings.NotificationMessageBoxes.Default.ProcessFinishedNotificationTitle,
MessageBoxButtons.YesNo, MessageBoxIcon.Question);
Replace will check for \n
and replaces it with: Environment.NewLine
.
The Escape sequences
have no meaning within actual string objects. Only when the C# compiler interprets them.