public void Dispose() { appSettings.PropertyChanged -= AppSettings_PropertyChanged; hexBoxUndoManager.Uninitialize(this.dnHexBox); }