void ps_GetLanguageStateCompleted(object sender, ITBusSilverlight.PESServicesSession.GetLanguageStateCompletedEventArgs e) { //if (e.Result == 0) lang = new Languages(EnumLanguages.Vietnamese); //else // lang = new Languages(EnumLanguages.English); AddMediaSource(); }
void getSession_GetLanguageStateCompleted(object sender, GetLanguageStateCompletedEventArgs e) { //if (e.Result == 0) lang = new Languages(EnumLanguages.Vietnamese); //else //lang = new Languages(EnumLanguages.English); //add media to play sound addMedia(); // add the images to the stage addImages(); }