Exemplo n.º 1
0
 public static void ShowErrorDebugMessageBox(string commandLine, uint errorCode)
 {
     MessageBox.Show(
         $"Error Number: {Convert.ToString(errorCode, 16).ToUpper()}\r\n"
         + $"Commands: {commandLine}\r\n" + "\r\n"
         + $"{string.Format($"{Environment.OSVersion} {(SystemHelper.Is64BitOS() ? "x64" : "x86")}", Environment.OSVersion, SystemHelper.Is64BitOS() ? "x64" : "x86")}\r\n"
         + $"{GenerateSystemDllVersionList()}\r\n"
         + "If you have any antivirus software running, please turn it off and try again.\r\n"
         + "If this window still shows, try go to Safe Mode and drag the application "
         + "executable onto LEProc.exe.\r\n"
         + "If you have tried all above but none of them works, feel free to submit an issue at\r\n"
         + "https://github.com/xupefei/Locale-Emulator/issues.\r\n" + "\r\n" + "\r\n"
         + "You can press CTRL+C to copy this message to your clipboard.\r\n",
         "Locale Emulator Version " + GetLEVersion());
 }