I am trying to figure out how to use ToolStripComboBox.OnSelectionChangeCommitted method with a combox in a tool strip on my form. Here is the link I found,
This is my first Windows Forms Application in VS 2010 using VB.net. I have been using ASP.net for web apps for the several years.
I have a combobox, bindNavProjectComboBox. I need to know the difference between when a user changes the combo box selection and the program does. After several days of research and trying other methods, I found OnSelectionChangeCommitted. I have added a the following to my project, but I can't figure out how to apply it to the combox
Any help is very much appreciated. I need to figure this out ASAP.
This is my first Windows Forms Application in VS 2010 using VB.net. I have been using ASP.net for web apps for the several years.
I have a combobox, bindNavProjectComboBox. I need to know the difference between when a user changes the combo box selection and the program does. After several days of research and trying other methods, I found OnSelectionChangeCommitted. I have added a the following to my project, but I can't figure out how to apply it to the combox
Code:
Public Class ToolStripComboBox
Inherits System.Windows.Forms.ToolStripComboBox
Protected Overrides Sub OnSelectionChangeCommitted(ByVal e As System.EventArgs)
bolNavComboBoxClick = True
End Sub
Any help is very much appreciated. I need to figure this out ASAP.