//=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        public EntityReferencesToolWindow()
        {
            var ucEntityReferences = new EntityReferencesControl { AllowAnimatedGif = true };

            base.Content = ucEntityReferences;

            ucEntityReferences.FileContentNeeded += ucEntityReferences_FileContentNeeded;
        }
        //=====================================================================

        /// <summary>
        /// Constructor
        /// </summary>
        public EntityReferencesToolWindow() : base(null)
        {
            var ucEntityReferences = new EntityReferencesControl { AllowAnimatedGif = true };

            this.Caption = "Entity References";
            this.Content = ucEntityReferences;

            ucEntityReferences.FileContentNeeded += ucEntityReferences_FileContentNeeded;
        }