From 22d66fff13a11a6139d6b73b39a8bcd83c2bceb5 Mon Sep 17 00:00:00 2001 From: GampyG28 Date: Wed, 26 Apr 2023 22:00:53 -0400 Subject: [PATCH] Cleanup Warning message. --- Apps/PcmHammer/MainForm.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Apps/PcmHammer/MainForm.cs b/Apps/PcmHammer/MainForm.cs index 1b69ec17..9a54961d 100644 --- a/Apps/PcmHammer/MainForm.cs +++ b/Apps/PcmHammer/MainForm.cs @@ -1233,11 +1233,12 @@ private async void readFullContents_BackgroundThread() if (pcmInfo.HardwareType == PcmType.P04 || pcmInfo.HardwareType == PcmType.P08 || pcmInfo.HardwareType == PcmType.E54) { - this.AddUserMessage("WARNING: P04, P08 & E54 support is still in development."); - DialogResult dialogResult = MessageBox.Show("WARNING: P04, P08 & E54 support is still in development.\n", "Continue?", MessageBoxButtons.YesNo); + string msg = $"WARNING: {pcmInfo.HardwareType.ToString()} Support is still in development."; + this.AddUserMessage(msg); + DialogResult dialogResult = MessageBox.Show(msg, "Continue?", MessageBoxButtons.YesNo); if (dialogResult == DialogResult.No) { - this.AddUserMessage("User chose not to proceed"); + this.AddUserMessage("User chose not to proceed."); return; } }