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