예제 #1
0
 private void CatchTheVoice(Guid id)
 {
     var cv = new CatchVoice();
     cv.Process(id);
 }
예제 #2
0
        private void PlayList(object obj)
        {
            this._isAutoStart = true;
            ChangeImageContinuePause();

            Task.Factory.StartNew(() =>
            {
                //initialize player
                var g = Guid.Parse(obj.ToString());

                //check info and voice again
                var catchInfo = new CatchInfo();
                catchInfo.Process(g);
                var catchVoice = new CatchVoice();
                catchVoice.Process(g);

                //get data
                var p = new VocabularyListProvider();
                this._pvmList = p.GetData(g);
                this._count = this._pvmList.Count;
                this._isAutoStart = true;

                PlayStart();
            });
        }