SHARE
TWEET

Untitled

a guest Jan 14th, 2020 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private void UpdateSelectedValue()
  2.     {
  3. #if VS2008
  4.       string newValue = String.Join( Delimiter, SelectedItems.Cast<object>().Select( x => GetItemValue( x ).ToString() ).ToArray() );
  5. #else
  6.       string newValue = String.Join( Delimiter, SelectedItems.Cast<object>().Select( x => GetItemValue( x ) ) );
  7. #endif
  8.       if( String.IsNullOrEmpty( SelectedValue ) || !SelectedValue.Equals( newValue ) )
  9.       {
  10.         _ignoreSelectedValueChanged = true;
  11.         SelectedValue = newValue;
  12.         _ignoreSelectedValueChanged = false;
  13.       }
  14.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top