public virtual void WindowClosed( RenderWindow rw ) { if ( CurrentSample != null && !this.IsSamplePaused ) CurrentSample.WindowClosed( rw ); }