Exemplo n.º 1
0
 private void CatchTheMeaning(Guid id)
 {
     var ct = new CatchInfo();
     ct.Process(id);
 }
Exemplo n.º 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();
            });
        }