Inheritance: System.Windows.Forms.Form
Esempio n. 1
0
        private void frmMaster_Unload(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();
        }