I am creating a program to edit a database using c#2008 with visual studios 2008. I want to click a button that I have made and it execute the a button on the binding navigator tool bar. This is so it is more user friendly.
For example I want to be able to click a button I have made for adding a new entry and it execute the plus button on the binding navigator tool bar.
I am using the code
cmdAddUser.Click += new System.EventHandler(bindingNavigatorAddNewItem_Click);
this however will only execute any code that I have put into the 'bindingNavigatorAddNewItem_Click' not the database functionality. I want it to execute the database functionality as well. How do I do that?
Many thanks in advance