المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Winform DataGridView



C# Programming
04-16-2011, 03:40 AM
DataGridView's SelectionChanged Event Fire earlier than CellDoubleClick Event.

But I hope SelectionChanged after CellDoubleClick.

My Program require:
1> DoubleClick any part of the row, this row selected=true.
read a value from this row as parameter order to open a dialog for do something.

2> When SelectionChanged, another controls's value will changed from the new selected row.

But if DoubleClick fired that another controls's value need not change.

How to do?
Thanks.