private void mnuExit_Click(object sender, EventArgs e)
{
System.Windows.Forms.Form frmSave = new dlgSave();
if (hasChanged)
{
DialogResult theAns = frmSave.ShowDialog(this);
if (theAns == DialogResult.No) { return; }
if (theAns == DialogResult.Yes) { mnuSaveMappings_Click(sender, e); }
}
this.Close();
}