Last active
October 29, 2019 19:20
-
-
Save ExtremeGTX/6558d9d4a045e906d50f3d3172d6c734 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Win32; | |
private void button1_Click(object sender, EventArgs e) | |
{ | |
int? XMI_Transactions = (int?)Registry.GetValue(@"HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS", "XMI_USE_TRANSACTION", null); | |
if (XMI_Transactions == null) | |
{ | |
MessageBox.Show("EA is not installed"); | |
return; | |
} | |
Registry.SetValue(@"HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS", "XMI_USE_TRANSACTION", 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment