Inheritance: Smrf.AppLib.FormSettings
Exemple #1
0
        //*************************************************************************
        //  Constructor: AlphaDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="AlphaDialog" /> class.
        /// </summary>
        //*************************************************************************

        public AlphaDialog()
        {
            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_oAlphaDialogUserSettings = new AlphaDialogUserSettings(this);

            nudAlpha.Minimum = (Decimal)AlphaConverter.MinimumAlphaWorkbook;
            nudAlpha.Maximum = (Decimal)AlphaConverter.MaximumAlphaWorkbook;

            DoDataExchange(false);

            AssertValid();
        }
    //*************************************************************************
    //  Constructor: AlphaDialog()
    //
    /// <summary>
    /// Initializes a new instance of the <see cref="AlphaDialog" /> class.
    /// </summary>
    //*************************************************************************

    public AlphaDialog()
    {
        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_oAlphaDialogUserSettings = new AlphaDialogUserSettings(this);

        nudAlpha.Minimum = (Decimal)AlphaConverter.MinimumAlphaWorkbook;
        nudAlpha.Maximum = (Decimal)AlphaConverter.MaximumAlphaWorkbook;

        DoDataExchange(false);

        AssertValid();
    }