/// <summary>
 /// Initializes a new instance of the <see cref="GlobalOptionsDialog"/> class.
 /// </summary>
 public GlobalOptionsDialog()
 {
     _manageConnectionInfosDialog = null;
     InitializeComponent();
     ConnectionTimeoutNumericUpDown.Maximum = Int32.MaxValue / 1000;
     RefreshControlValues();
     SetRestoreSessionsRadioButtonsEnabledStatus();
 }
        /// <summary>
        /// Handles the Click event of the ManageConnectionInfosButton control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
        private void ManageConnectionInfosButton_Click(object sender, EventArgs e)
        {
            if (_manageConnectionInfosDialog == null)
            {
                _manageConnectionInfosDialog = new ManageConnectionInfosDialog();
            }

            _manageConnectionInfosDialog.ShowDialog();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="GlobalOptionsDialog"/> class.
 /// </summary>
 public GlobalOptionsDialog()
 {
     _manageConnectionInfosDialog = null;
     InitializeComponent();
     _initialWidth = Width;
     ConnectionTimeoutNumericUpDown.Maximum = Convert.ToInt32(int.MaxValue / 1000);
     SpatialTextFormatComboBox.InitializeComboBoxFromEnum(GeometryAsTextFormatType.None, true);
     RefreshControlValues();
     SetRestoreSessionsRadioButtonsEnabledStatus();
     SetAutomaticMigrationDelayText();
 }