Implement benchmark in GUI.

This commit is contained in:
2018-10-08 23:32:00 +01:00
parent 6c1ea13ec6
commit cfd0ba4188
6 changed files with 273 additions and 2 deletions

View File

@@ -51,6 +51,7 @@
<ButtonMenuItem Text="&amp;Console" Click="OnMenuConsole"/>
</ButtonMenuItem>
<ButtonMenuItem Text="&amp;Help">
<ButtonMenuItem Text="&amp;Benchmark" Click="OnMenuBenchmark"/>
<ButtonMenuItem Text="&amp;Encodings" Click="OnMenuEncodings"/>
<ButtonMenuItem Text="&amp;Plugins" Click="OnMenuPlugins"/>
</ButtonMenuItem>

View File

@@ -473,6 +473,11 @@ namespace DiscImageChef.Gui.Forms
new dlgEncodings().ShowModal(this);
}
protected void OnMenuBenchmark(object sender, EventArgs e)
{
new dlgBenchmark().ShowModal(this);
}
protected void OnTreeImagesSelectedItemChanged(object sender, EventArgs e)
{
if(!(sender is TreeGridView tree)) return;