void IDockNotify.OnLoaded(IDockPane pane) { Debug.Assert(this.xwtdisplay == null); this.xwtdisplay = new OpenTK.XwtRender(this, this.xwtrender, this.xwt, TimeBase); this.xwtdisplay.FrameRenderer = new MovieRender(this); this.xwtdisplay.Initialize(this.factory, this.xwtrender, new FPS(1, 25, true), new size(1920, 1080)); this.xwtdisplay.Play(0); }
void IDockNotify.OnUnloading() { this.xwtdisplay?.Dispose(); this.xwtdisplay = null; }