Quiesce the messagebox noise
This commit is contained in:
parent
8fc6ed510c
commit
9199d12f2c
@ -73,7 +73,7 @@ namespace QueueSys
|
|||||||
csvWriter.WriteRecords(report);
|
csvWriter.WriteRecords(report);
|
||||||
|
|
||||||
textWriter.Close();
|
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 = "";
|
tbEmployeeName.Text = "";
|
||||||
|
|
||||||
RefreshEmployeeView();
|
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.
|
//Sanity check, per option.
|
||||||
if (Properties.Settings.Default.ConfirmDelete)
|
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)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -200,7 +200,7 @@ namespace QueueSys
|
|||||||
//Invoke the delegate to update customer view with updated data.
|
//Invoke the delegate to update customer view with updated data.
|
||||||
OnSendMessage?.Invoke(this, e);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user