Beispiel #1
0
        private void ResetTel()
        {
            CloseDevice();
            talkCount =0;
            if (vw != null)
            {
                vw.Stop();
            }
            vw = null;

            StopPlay();
               // flBegin.Stop();
            flAnswer.Stop();
            flAnswer.Visible = false;
            lblCount.Text = string.Empty;
            playTime = DateTime.Now;
            flBegin.Stop();
            stateId = "PFM";
            flBegin.Movie = Application.StartupPath + @"\flash\main.swf";
            flBegin.GotoFrame(1);
            flBegin.Play();

            flBegin.Visible = true;
            picMain.Visible = false;
            picMain.Load(@"pic\main.jpg");

            //picMain.Load(@"pic\main.jpg");
            //picMain.Visible = true;
            //flBegin.Visible = false;
            //flAnswer.Visible = false;
            flFire.Visible = false;
            //PrepareTel();
        }
Beispiel #2
0
        private void BeginTel()
        {
            stateId = "PS";
            PlaySound("CallTalkRing.wav");
            picMain.Load(@"pic\bg.jpg");
            lblCount.Text = string.Empty;

            vw = new VideoWork(this.Handle, 81+(this.Width-pnlMain.Width)/2, 431+(this.Height-pnlMain.Height)/2, 325, 247);
        }