From 9199d12f2c7ffe21060fe0b5579a77c3463aadb7 Mon Sep 17 00:00:00 2001 From: kougyoku Date: Thu, 31 Oct 2019 09:24:31 -0700 Subject: [PATCH] Quiesce the messagebox noise --- QueueSys/frmEmployeeView.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/QueueSys/frmEmployeeView.cs b/QueueSys/frmEmployeeView.cs index 0cea899..4d7e6d4 100644 --- a/QueueSys/frmEmployeeView.cs +++ b/QueueSys/frmEmployeeView.cs @@ -73,7 +73,7 @@ namespace QueueSys csvWriter.WriteRecords(report); textWriter.Close(); - MessageBox.Show("Report Generated", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("Report Generated", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.None); } } @@ -114,7 +114,7 @@ namespace QueueSys tbEmployeeName.Text = ""; RefreshEmployeeView(); - MessageBox.Show("Customer has been added!", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("Customer has been added!", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.None); } @@ -180,11 +180,11 @@ namespace QueueSys //Sanity check, per option. if (Properties.Settings.Default.ConfirmDelete) { - DialogResult result = MessageBox.Show("Are you sure you want to delete this customer?", "Queue System", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation); + DialogResult result = MessageBox.Show("Are you sure you want to delete this customer?", "Queue System", MessageBoxButtons.YesNo, MessageBoxIcon.None); if (result == DialogResult.No) { - MessageBox.Show("Customer was not deleted.", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("Customer was not deleted.", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.None); return; } } @@ -200,7 +200,7 @@ namespace QueueSys //Invoke the delegate to update customer view with updated data. OnSendMessage?.Invoke(this, e); - MessageBox.Show("Customer has been removed from the queue", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show("Customer has been removed from the queue", "Queue System", MessageBoxButtons.OK, MessageBoxIcon.None); } }