private void FrmRegistryEditor_FormClosing(object sender, FormClosingEventArgs e) { UnregisterMessageHandler(); _registryHandler.Dispose(); }