Skip to content

Commit

Permalink
Merge pull request #315 from Gampyg28/d_CleanupMessage
Browse files Browse the repository at this point in the history
Cleanup Warning message.
  • Loading branch information
antuspcm committed Apr 27, 2023
2 parents 35750b6 + 22d66ff commit 6ad7bb6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Apps/PcmHammer/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 6ad7bb6

Please sign in to comment.