Skip to content

Only refresh Documents DataGridView when the contents have changed. #76

@rffrasca

Description

@rffrasca

The Documents DataGridView will auto refresh while the main form is not in a minimized state. This refresh will occur regardless of a change in the DataTable that was last used to populate the DataGridView. The refresh of the Documents DataGridView should only occur when the actual contents change.

The proposed change will prevent the unnecessary refreshes that can interfere with working in any of the tab control text boxes on the form. During the automatic refresh, the query will be performed using the current Find selection. Next, the DataTable generated by the query will be compared to the DataTable that last filled the Documents DataGridView. If there is a difference between the two DataTables, then the DataGridView will be refreshed.

Metadata

Metadata

Assignees

Labels

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions