public SlideScreen(SlideMenuScreen slideMenu) { this.slideObjects = new List<SlideObject>();// new List<Sprite2D>(); this.parentSlideMenu = slideMenu; this.captured = false; this.slideno = this.parentSlideMenu.MaxSlideIndex; // this.captured = false; //Recording initialization bw = new BackgroundWorker(); bw.WorkerSupportsCancellation = true; bw.DoWork += new DoWorkEventHandler(bw_recordAudio); }
public SlideScreen(SlideMenuScreen slideMenu) { TransitionOnTime = TimeSpan.FromSeconds(0.5); TransitionOffTime = TimeSpan.FromSeconds(0.5); this.narrationTimer = new Stopwatch(); narrationTimer.Stop(); this.slideObjects = new List<SlideObject>();// new List<Sprite2D>(); this.parentSlideMenu = slideMenu; this.captured = false; this.slideno = this.parentSlideMenu.MaxSlideIndex; this.capturedSkeletons = new List<SkeletonJoints>();//List<Skeleton>(); this.capturedAvatarIndices = new List<int>(); //Recording initialization bw = new BackgroundWorker(); bw.WorkerSupportsCancellation = true; bw.DoWork += new DoWorkEventHandler(bw_recordAudio); }