Syntax error fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user