Context menu senders
-
I have a context menu I use for multiple DataGridView objects. When I click a menu option, the sender info seems to be the label of the context menu item, not the grid associated with the actual click event. How can I retrieve the name of the grid associate with the context menu click?
-
I have a context menu I use for multiple DataGridView objects. When I click a menu option, the sender info seems to be the label of the context menu item, not the grid associated with the actual click event. How can I retrieve the name of the grid associate with the context menu click?
By examining SourceControl property.
Giorgi Dalakishvili #region signature my articles #endregion
-
By examining SourceControl property.
Giorgi Dalakishvili #region signature my articles #endregion
Excelent! I knew there had to be a way to do this but was not readily finding it. Works perfect! :-D
-
Excelent! I knew there had to be a way to do this but was not readily finding it. Works perfect! :-D
Glad to help you :)
Giorgi Dalakishvili #region signature my articles #endregion