Skip to content

Commit 29059b7

Browse files
committed
Smaller updates to UI
1 parent ae169f2 commit 29059b7

2 files changed

Lines changed: 26 additions & 13 deletions

File tree

src/SignToolGUI/Forms/MainForm.Designer.cs

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/SignToolGUI/Forms/MainForm.cs

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ private void MainForm_Load(object sender, EventArgs e)
127127
Text = Application.ProductName + @" v." + Application.ProductVersion;
128128

129129
toolTip.SetToolTip(checkBoxTimestamp, "Check this box to timestamp the signed file(s).");
130+
toolTip.SetToolTip(labelTimestampProvider, "Select a timestamp provider/endpoint. Click here to manage providers/endpoints.");
130131

131132
// Load type of certificate configuration
132133
try
@@ -1680,7 +1681,7 @@ private void PopulateComboBox()
16801681
// Add custom provider option
16811682
comboBoxTimestampProviders.Items.Add(new TimestampProvider("Custom Provider", "N/A"));
16821683

1683-
groupBoxTimestamp.Text = @"Timestamp";
1684+
groupBoxTimestamp.Text = @"Timestamp server";
16841685
labelTimestampProvider.Text = @"Provider:";
16851686
labelTimeStampServer.Text = @"Timestamp URL:";
16861687

@@ -2268,7 +2269,7 @@ private void buttonVerifySignatures_Click(object sender, EventArgs e)
22682269
}
22692270
}
22702271

2271-
private void manageTimestampServersToolStripMenuItem_Click(object sender, EventArgs e)
2272+
private void OpenTimestampManagement()
22722273
{
22732274
try
22742275
{
@@ -2292,6 +2293,11 @@ private void manageTimestampServersToolStripMenuItem_Click(object sender, EventA
22922293
}
22932294
}
22942295

2296+
private void manageTimestampServersToolStripMenuItem_Click(object sender, EventArgs e)
2297+
{
2298+
OpenTimestampManagement();
2299+
}
2300+
22952301
private void exportReportCSVToolStripMenuItem_Click(object sender, EventArgs e)
22962302
{
22972303
ExportSigningReportToCsv();
@@ -3259,5 +3265,11 @@ private void ExportCommandScript()
32593265
Message("Failed to export command script: " + ex.Message, EventType.Error, 20101);
32603266
}
32613267
}
3268+
3269+
private void labelTimestampProvider_Click(object sender, EventArgs e)
3270+
{
3271+
// Open the timestamp server/endpoint management form when double-clicking the combo box
3272+
OpenTimestampManagement();
3273+
}
32623274
}
32633275
}

0 commit comments

Comments
 (0)