コード例 #1
0
ファイル: Parts.xaml.cs プロジェクト: lengocluyen/pescode
 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();
 }
コード例 #2
0
        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();
        }