Esempio n. 1
0
        private void UpdateComboBoxSourceSelection(IMaterial brush)
        {
            if (brush.Equals(_guiComboBox.SelectedValue))
            {
                return;
            }

            _filterString = string.Empty;
            FillComboBoxWithFilteredItems(_filterString, false);
            _guiComboBox.SelectedValue = brush;
        }
Esempio n. 2
0
		private void UpdateComboBoxSourceSelection(IMaterial brush)
		{
			if (brush.Equals(_guiComboBox.SelectedValue))
				return;

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