private void bCancel_Click(object sender, System.EventArgs e)
 {
     DialogResult = DialogResult.Cancel;
     m_Def.Dispose();
     m_Def = m_Backup;
     Close();
 }
Exemple #2
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (disposing)
            {
                if (m_Def != null)
                {
                    m_Def.Dispose();
                }
            }
        }