Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Warning message. #315

Merged
merged 1 commit into from
Apr 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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