예제 #1
0
        private void SaveApplicationSettings()
        {
            RegistryAccess registryAccess = new RegistryAccess(Application.ProductName);

            applicationSettings.ProcessDescriptionFilter = txtProcessDescriptionFilter.Text;

            try
            {
                registryAccess.SaveObjectToRegistry(applicationSettings);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }