protected override void CreateHandle() { base.CreateHandle(); //Redocking this window causes the handle to be destroyed and recreated if (_content != null) { Open( _fileName, _fileExtension, _content ); } }