//*************************************************************************
        //  Constructor: ColorColumnAutoFillUserSettingsDialog()
        //
        /// <overloads>
        /// Initializes a new instance of the <see
        /// cref="ColorColumnAutoFillUserSettingsDialog" /> class.
        /// </overloads>
        ///
        /// <summary>
        /// Initializes a new instance of the <see
        /// cref="ColorColumnAutoFillUserSettingsDialog" /> class with a <see
        /// cref="ColorColumnAutoFillUserSettings" /> object.
        /// </summary>
        ///
        /// <param name="colorColumnAutoFillUserSettings">
        /// Object to edit.
        /// </param>
        ///
        /// <param name="dialogCaption">
        /// Dialog caption.
        /// </param>
        //*************************************************************************

        public ColorColumnAutoFillUserSettingsDialog
        (
            ColorColumnAutoFillUserSettings colorColumnAutoFillUserSettings,
            String dialogCaption
        )
            : this()
        {
            Debug.Assert(colorColumnAutoFillUserSettings != null);
            Debug.Assert(!String.IsNullOrEmpty(dialogCaption));

            m_oColorColumnAutoFillUserSettings = colorColumnAutoFillUserSettings;
            this.Text = dialogCaption;

            // Instantiate an object that saves and retrieves the position of this
            // dialog.  Note that the object automatically saves the settings when
            // the form closes.

            m_oColorColumnAutoFillUserSettingsDialogUserSettings =
                new ColorColumnAutoFillUserSettingsDialogUserSettings(this);

            DoDataExchange(false);

            UpdateColorGradient();

            AssertValid();
        }
        //*************************************************************************
        //  Constructor: ColorColumnAutoFillUserSettingsDialog()
        //
        /// <overloads>
        /// Initializes a new instance of the <see
        /// cref="ColorColumnAutoFillUserSettingsDialog" /> class.
        /// </overloads>
        ///
        /// <summary>
        /// Initializes a new instance of the <see
        /// cref="ColorColumnAutoFillUserSettingsDialog" /> class with a <see
        /// cref="ColorColumnAutoFillUserSettings" /> object.
        /// </summary>
        ///
        /// <param name="colorColumnAutoFillUserSettings">
        /// Object to edit.
        /// </param>
        ///
        /// <param name="dialogCaption">
        /// Dialog caption.
        /// </param>
        //*************************************************************************
        public ColorColumnAutoFillUserSettingsDialog(
            ColorColumnAutoFillUserSettings colorColumnAutoFillUserSettings,
            String dialogCaption
            )
            : this()
        {
            Debug.Assert(colorColumnAutoFillUserSettings != null);
            Debug.Assert( !String.IsNullOrEmpty(dialogCaption) );

            m_oColorColumnAutoFillUserSettings = colorColumnAutoFillUserSettings;
            this.Text = dialogCaption;

            // Instantiate an object that saves and retrieves the position of this
            // dialog.  Note that the object automatically saves the settings when
            // the form closes.

            m_oColorColumnAutoFillUserSettingsDialogUserSettings =
            new ColorColumnAutoFillUserSettingsDialogUserSettings(this);

            DoDataExchange(false);

            UpdateColorGradient();

            AssertValid();
        }