상속: Smrf.AppLib.FormSettings
    //*************************************************************************
    //  Constructor: MotifUserSettingsDialog()
    //
    /// <summary>
    /// Initializes a new instance of the <see
    /// cref="MotifUserSettingsDialog" /> class.
    /// </summary>
    ///
    /// <param name="motifUserSettings">
    /// The object being edited.
    /// </param>
    //*************************************************************************

    public MotifUserSettingsDialog
    (
        MotifUserSettings motifUserSettings
    )
    {
        Debug.Assert(motifUserSettings != null);
        motifUserSettings.AssertValid();

        m_oMotifUserSettings = motifUserSettings;

        // 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_oMotifUserSettingsDialogUserSettings =
            new MotifUserSettingsDialogUserSettings(this);

        InitializeComponent();
        DoDataExchange(false);

        AssertValid();
    }
예제 #2
0
        //*************************************************************************
        //  Constructor: MotifUserSettingsDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see
        /// cref="MotifUserSettingsDialog" /> class.
        /// </summary>
        ///
        /// <param name="motifUserSettings">
        /// The object being edited.
        /// </param>
        //*************************************************************************

        public MotifUserSettingsDialog
        (
            MotifUserSettings motifUserSettings
        )
        {
            Debug.Assert(motifUserSettings != null);
            motifUserSettings.AssertValid();

            m_oMotifUserSettings = motifUserSettings;

            // 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_oMotifUserSettingsDialogUserSettings =
                new MotifUserSettingsDialogUserSettings(this);

            InitializeComponent();
            DoDataExchange(false);

            AssertValid();
        }