private void DatabaseWindowFormClosing(object sender, FormClosingEventArgs e) { if (Windows.DatabaseForms.Contains(this)) Windows.DatabaseForms.Remove(this); }