Quiesce the messagebox noise

This commit is contained in:
kougyoku 2019-10-31 09:24:31 -07:00
parent 8fc6ed510c
commit 9199d12f2c
1 changed files with 5 additions and 5 deletions

View File

@ -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);
}
}