Hi MyDale3, Do you mean your menu item will perform the same task as the BindingNavigator's button? So that your user can either click BindingNavigator's button or click your menu item to do the work? The easiest way to accomplish this is click the BindingNavigator's button in your code. Like this. private void nextToolStripMenuItem_Click(object sender, EventArgs e) { bindingNavigatorMoveNextItem.PerformClick(); } private void previousToolStripMenuItem_Click(object sender, EventArgs e) { bindingNavigatorMovePreviousItem.PerformClick(); } private void addToolStripMenuItem_Click(object sender, EventArgs e) { bindingNavigatorAddNewItem.PerformClick(); } private void deleteToolStripMenuItem_Click(object sender, EventArgs e) { bindingNavigatorDeleteItem.PerformClick(); } So when user click your menu item, it is equal to click BindingNavigator's button. If I misunderstood something, please feel free to tell me. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Marked As Answer byKira QianMSFT, ModeratorMonday, August 10, 2009 1:41 AM
-
|