Ejemplo n.º 1
0
        //*************************************************************************
        //  Constructor: VertexRadiusDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="VertexRadiusDialog" />
        /// class.
        /// </summary>
        //*************************************************************************

        public VertexRadiusDialog()
        {
            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_oVertexRadiusDialogUserSettings =
                new VertexRadiusDialogUserSettings(this);

            nudVertexRadius.Minimum =
                (Decimal)VertexRadiusConverter.MinimumRadiusWorkbook;

            nudVertexRadius.Maximum =
                (Decimal)VertexRadiusConverter.MaximumRadiusWorkbook;

            DoDataExchange(false);

            AssertValid();
        }
Ejemplo n.º 2
0
        //*************************************************************************
        //  Constructor: VertexRadiusDialog()
        //
        /// <summary>
        /// Initializes a new instance of the <see cref="VertexRadiusDialog" />
        /// class.
        /// </summary>
        //*************************************************************************
        public VertexRadiusDialog()
        {
            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_oVertexRadiusDialogUserSettings =
            new VertexRadiusDialogUserSettings(this);

            nudVertexRadius.Minimum =
            (Decimal)VertexRadiusConverter.MinimumRadiusWorkbook;

            nudVertexRadius.Maximum =
            (Decimal)VertexRadiusConverter.MaximumRadiusWorkbook;

            DoDataExchange(false);

            AssertValid();
        }