Hi,
I have a datagridview that is populated by a bindingsource.
The idea is that if a column has a given value and the user clicks on it a warning message is displayed and this works ok until it is the first row that has this value.
What happens is that as the program loads the message appears a number of times. If I select the tabpage that the dgv is on the message appears as the dgv selection changed event is firing.
How do I stop this event firing as each time the user changes from one tabpage then back the message appears?
Thx
I have a datagridview that is populated by a bindingsource.
The idea is that if a column has a given value and the user clicks on it a warning message is displayed and this works ok until it is the first row that has this value.
What happens is that as the program loads the message appears a number of times. If I select the tabpage that the dgv is on the message appears as the dgv selection changed event is firing.
How do I stop this event firing as each time the user changes from one tabpage then back the message appears?
Thx