System.Windows.Forms.ComboBox.OnSelectionChangeCommitted(System.EventArgs)

Here are the examples of the csharp api class System.Windows.Forms.ComboBox.OnSelectionChangeCommitted(System.EventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

1. Example

Project: OpenLiveWriter
Source File: ImageBorderPickerControl.cs
protected override void OnSelectionChangeCommitted(EventArgs e)
        {
            dropDownShowing = false;
            base.OnSelectionChangeCommitted(e);
        }

2. Example

Project: SLED
Source File: NavigationBar.cs
protected override void OnSelectionChangeCommitted(EventArgs e)
        {
            base.OnSelectionChangeCommitted(e);

            if ((SelectedItem == null) ||
                (m_editor == null) ||
                (m_editor.SelectedView == null))
                return;

            var item = SelectedItem as Item;
            if (item == null)
                return;

            m_editor.SelectedView.Selection.StartOffset = item.Node.StartOffset;
            m_editor.Focus();
        }

3. Example

Project: OpenLiveWriter
Source File: TagProviderComboBox.cs
protected override void OnSelectionChangeCommitted(EventArgs e)
        {
            if (SelectedItem is TagOptionsProvider)
            {
                OnManageProviders();
                if (_selectedIndex > -1 && _selectedIndex < Items.Count)
                    SelectedIndex = _selectedIndex;
            }
            base.OnSelectionChangeCommitted(e);
        }

4. Example

Project: ClearCanvas
Source File: SuggestComboBox.cs
protected override void OnSelectionChangeCommitted(EventArgs e)
        {
            // there are 2 ways that the value can change
            // either the selection change is comitted, or the control loses focus
            OnValueChanged(EventArgs.Empty);

            base.OnSelectionChangeCommitted(e);
        }