protected override void OnClosing(CancelEventArgs e) { Properties.Settings.Default.Options = _childWindow.GetOptions().SerializeToString(); Properties.Settings.Default.Save(); if (_structureOptionsChanged) { _dbSchemaView.InitializeDatabaseSchemaTree(); } base.OnClosing(e); }