Skip to content

[BUG] ArgumentOutOfRangeException since version 1.2.3.6 #322

@Hofknecht

Description

@Hofknecht

James S. reported:

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'rowIndex') at System.Windows.Forms.DataGridView.InvalidateRow(Int32 rowIndex) at SystemTrayMenu.Business.Menus.Dgv_MouseDown(Object sender, MouseEventArgs e) in D:\a\1\s\Business\Menus.cs:line 1099 at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e) at System.Windows.Forms.Control.WmMouseDown(Message

2022-02-07 19_14_52-Window

although we check the range in line 1094 and 1095, there is an out of range exception. That means there is already too much happening in rowData.MouseDown() and we have to check the range again

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions