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