示例#1
0
        private void UpdateComboBoxSourceSelection(NamedColor color)
        {
            if (color.Equals(_guiComboBox.SelectedValue))
            {
                return;
            }

            _filterString = string.Empty;
            FillComboBoxWithFilteredItems(_filterString, false);
            _guiComboBox.SelectedValue = color;
        }
示例#2
0
		private void UpdateComboBoxSourceSelection(NamedColor color)
		{
			if (color.Equals(_guiComboBox.SelectedValue))
				return;

			_filterString = string.Empty;
			FillComboBoxWithFilteredItems(_filterString, false);
			_guiComboBox.SelectedValue = color;
		}