hyuri: (Mood)
[personal profile] hyuri
that was absolutely ridiculous!

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.

Profile

hyuri: (Default)
hyuri

November 2014

S M T W T F S
      1
2345678
9101112131415
161718192021 22
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 23rd, 2026 02:33 pm
Powered by Dreamwidth Studios