Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

WinForms Designer: naming conventions using several BindingNavigators

$
0
0

This is a similar situation like http://community.sharpdevelop.net/forums/t/22471.aspxnaming conventions using several DataGridView's

I create a MainForm with several DataGridView objects and separate BindingNavigators.

By default, the first navigator is named as bindingNavigator1 and its items as bindingNavigatorCountItem, bindingNavigatorAddNewItem etc. If I rename the navigator to dgvStudentsNavi (e.g.), the items aren't renamed.

By default, the next navigator is named as bindingNavigator1 again and its items as bindingNavigatorCountItem1, bindingNavigatorAddNewItem1 etc. If I rename the navigator to dgvSubjectsNavi (e.g.), the items aren't renamed.

The more navigators I add, the more confusion is created with very similar item names. I cannot find out which item belongs to a specific navigator.

I recommend to rename all the items if a bindingNavigator is renamed.

Juergen

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles