public void GetFabricAdjustmentSettings() { try { Utilities FabUtils= new Utilities(); string sLSABearingTolerance= FabUtils.ReadFromRegistry(RegistryHive.CurrentUser, "Software\\ESRI\\Desktop10.1\\ArcMap\\Cadastral", "LSABearingTolerance",false); string sLSAListingDetailLevel= FabUtils.ReadFromRegistry(RegistryHive.CurrentUser, "Software\\ESRI\\Desktop10.1\\ArcMap\\Cadastral", "LSAListingDetailLevel", false); dlgAdjustmentSettings pAdjustmentSettingsDialog = new dlgAdjustmentSettings(); //Display the dialog DialogResult pDialogResult = pAdjustmentSettingsDialog.ShowDialog(); if (pDialogResult != DialogResult.OK) return; } catch(Exception ex) { MessageBox.Show(ex.Message); } }
public void GetFabricAdjustmentSettings() { try { Utilities FabUtils = new Utilities(); string sLSABearingTolerance = FabUtils.ReadFromRegistry(RegistryHive.CurrentUser, "Software\\ESRI\\Desktop10.1\\ArcMap\\Cadastral", "LSABearingTolerance", false); string sLSAListingDetailLevel = FabUtils.ReadFromRegistry(RegistryHive.CurrentUser, "Software\\ESRI\\Desktop10.1\\ArcMap\\Cadastral", "LSAListingDetailLevel", false); dlgAdjustmentSettings pAdjustmentSettingsDialog = new dlgAdjustmentSettings(); //Display the dialog DialogResult pDialogResult = pAdjustmentSettingsDialog.ShowDialog(); if (pDialogResult != DialogResult.OK) { return; } } catch (Exception ex) { MessageBox.Show(ex.Message); } }