(no subject)
Jul. 1st, 2004 11:21 pmthat was absolutely ridiculous!
but! I finally got the whole moodid mess worked out.
I'm going to clean the rest of that up a bit tomorrow, get all the bits where they're supposed to be. but now I need sleep.
but! I finally got the whole moodid mess worked out.
IDictionaryEnumerator IDict = LiveJournal.moodids.GetEnumerator();
while( IDict.MoveNext() )
{
if( int.Parse( val ).Equals( IDict.Value ) )
break;
}
int index = moodList.FindString( IDict.Key.ToString() );
moodList.SelectedIndex = index;that's quite a bit more code than the task seems to require, but it actually works...I'm going to clean the rest of that up a bit tomorrow, get all the bits where they're supposed to be. but now I need sleep.