Skip to content

Commit

Permalink
Improved the "view job details" form.
Browse files Browse the repository at this point in the history
Added "execution time" for jobs and actions.
  • Loading branch information
nakov committed Dec 18, 2020
1 parent ff7beb2 commit eeabfcf
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 42 deletions.
11 changes: 11 additions & 0 deletions Forms/FormVideoUploader.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Forms/FormVideoUploader.resx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@
<metadata name="ColumnResult.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColumnExecutionTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ColumnCompletedJobDetails.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
Expand Down
81 changes: 42 additions & 39 deletions Forms/FormViewJob.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Forms/FormViewJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ private void dataGridViewActions_CellClick(object sender, DataGridViewCellEventA
private void RefreshActionLogs(int actionIndex)
{
ExecutableAction selectedAction = this.job.Actions[actionIndex];
if (this.textBoxLogs.Text != selectedAction.ExecutionLog)
this.textBoxLogs.Text = selectedAction.ExecutionLog;
if (this.textBoxLogs.Text != selectedAction.ExecutionLogForDisplay)
this.textBoxLogs.Text = selectedAction.ExecutionLogForDisplay;
}

private void FormViewJob_KeyDown(object sender, KeyEventArgs e)
Expand Down
Loading

0 comments on commit eeabfcf

Please sign in to comment.