mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-20 19:30:31 +12:00
[BUG] Fix NullReferenceException Dgv_MouseDown (#288), version 1.2.1.1
This commit is contained in:
parent
0511468757
commit
5533a2d749
|
@ -1081,7 +1081,7 @@ namespace SystemTrayMenu.Business
|
|||
}
|
||||
|
||||
Menu menu = (Menu)((DataGridView)sender).FindForm();
|
||||
if (menu.ScrollbarVisible)
|
||||
if (menu != null && menu.ScrollbarVisible)
|
||||
{
|
||||
isDraggingSwipeScrolling = true;
|
||||
dragSwipeScrollingStartRowIndex = GetRowUnderCursor(dgv, e.Location);
|
||||
|
|
|
@ -39,5 +39,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("1.2.1.0")]
|
||||
[assembly: AssemblyFileVersion("1.2.1.0")]
|
||||
[assembly: AssemblyVersion("1.2.1.1")]
|
||||
[assembly: AssemblyFileVersion("1.2.1.1")]
|
||||
|
|
Loading…
Reference in a new issue