#110, #111, version 0.11.1.1

[BUG] ArgumentOutOfRangeException #110
[BUG] AutosizeRows when high dpi #111
This commit is contained in:
Markus Hofknecht 2020-06-22 22:10:41 +02:00
parent 65159276d7
commit 419f97fa9a
2 changed files with 3 additions and 3 deletions

View file

@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.11.1.0")]
[assembly: AssemblyFileVersion("0.11.1.0")]
[assembly: AssemblyVersion("0.11.1.1")]
[assembly: AssemblyFileVersion("0.11.1.1")]

View file

@ -244,7 +244,7 @@ namespace SystemTrayMenu.UserInterface
CheckForAutoResizeRowDone();
void CheckForAutoResizeRowDone()
{
if (!(bool)dgv.Tag)
if (dgv.Tag == null)
{
dgv.AutoResizeRows();
dgv.Tag = true;