Syntax error fixes

This commit is contained in:
2023-03-31 07:18:07 +02:00
parent 196b3c5feb
commit 21b51cac20

View File

@@ -34,8 +34,8 @@ namespace Password_Manager
FileName = procName, FileName = procName,
Arguments = args, Arguments = args,
UseShellExecute = false, UseShellExecute = false,
RedirectStandardOutput = true; RedirectStandardOutput = true,
CreateNoWindow = true; CreateNoWindow = true
} }
}; };
@@ -51,8 +51,8 @@ namespace Password_Manager
return builder.ToString(); return builder.ToString();
} catch (Exception e) } catch (Exception e)
{ {
MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show(e.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
ProcessFailed.Invoke(e); ProcessFailed?.Invoke(e);
} }
return null; return null;