Esempio n. 1
0
        //*************************************************************************
        //  Constructor: EdgeWidthDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="EdgeWidthDialog" /> class.
        /// </summary>
        //*************************************************************************
        public EdgeWidthDialog()
        {
            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_oEdgeWidthDialogUserSettings = new EdgeWidthDialogUserSettings(this);

            nudEdgeWidth.Minimum =
            (Decimal)EdgeWidthConverter.MinimumWidthWorkbook;

            nudEdgeWidth.Maximum =
            (Decimal)EdgeWidthConverter.MaximumWidthWorkbook;

            DoDataExchange(false);

            AssertValid();
        }