Пример #1
0
        //*************************************************************************
        //  Constructor: GroupLabelColumnAutoFillUserSettingsDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see
        /// cref="GroupLabelColumnAutoFillUserSettingsDialog" /> class.
        /// </summary>
        ///
        /// <param name="groupLabelColumnAutoFillUserSettings">
        /// Object to edit.
        /// </param>
        //*************************************************************************

        public GroupLabelColumnAutoFillUserSettingsDialog
        (
            GroupLabelColumnAutoFillUserSettings
            groupLabelColumnAutoFillUserSettings
        )
        {
            Debug.Assert(groupLabelColumnAutoFillUserSettings != null);

            m_oGroupLabelColumnAutoFillUserSettings =
                groupLabelColumnAutoFillUserSettings;

            InitializeComponent();

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

            m_oGroupLabelColumnAutoFillUserSettingsDialogUserSettings =
                new GroupLabelColumnAutoFillUserSettingsDialogUserSettings(this);

            DoDataExchange(false);

            AssertValid();
        }
    //*************************************************************************
    //  Constructor: GroupLabelColumnAutoFillUserSettingsDialog()
    //
    /// <summary>
    /// Initializes a new instance of the <see
    /// cref="GroupLabelColumnAutoFillUserSettingsDialog" /> class.
    /// </summary>
    ///
    /// <param name="groupLabelColumnAutoFillUserSettings">
    /// Object to edit.
    /// </param>
    //*************************************************************************

    public GroupLabelColumnAutoFillUserSettingsDialog
    (
        GroupLabelColumnAutoFillUserSettings
            groupLabelColumnAutoFillUserSettings
    )
    {
        Debug.Assert(groupLabelColumnAutoFillUserSettings != null);

        m_oGroupLabelColumnAutoFillUserSettings =
            groupLabelColumnAutoFillUserSettings;

        InitializeComponent();

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

        m_oGroupLabelColumnAutoFillUserSettingsDialogUserSettings =
            new GroupLabelColumnAutoFillUserSettingsDialogUserSettings(this);

        DoDataExchange(false);

        AssertValid();
    }