SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

WinForms Designer: naming conventions using several BindingNavigators

Last post 04-13-2016 4:17 PM by Juergen Thomas. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 04-13-2016 4:17 PM

    WinForms Designer: naming conventions using several BindingNavigators

    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

     

Page 1 of 1 (1 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.