private void SaveApplicationSettings() { RegistryAccess registryAccess = new RegistryAccess(Application.ProductName); applicationSettings.ProcessDescriptionFilter = txtProcessDescriptionFilter.Text; try { registryAccess.SaveObjectToRegistry(applicationSettings); } catch (Exception ex) { MessageBox.Show(ex.Message); } }