public CreateDictionaryItemControl(CreateDictionaryControl.ColumnAnalysis columnAnalysis)
        {
            InitializeComponent();

            _columnAnalysis = columnAnalysis;

            if (!_columnAnalysis.ContainsAlpha && _columnAnalysis.Values.Count >= 1 && _columnAnalysis.Values.Count <= CreateDictionaryControl.ColumnAnalysis.MaxValueSetValues)
            {
                _canCreateValueSet = true;
                checkBoxItemCreateValueSet.Text = String.Format(checkBoxItemCreateValueSet.Text, _columnAnalysis.Values.Count);
            }

            textBoxItemName.Text   = CSPro.Names.CreateFromLabel(_columnAnalysis.HeaderText);
            textBoxItemLength.Text = _columnAnalysis.MaximumLength.ToString();

            if (!_columnAnalysis.ContainsAlpha)
            {
                checkBoxItemNumeric.Checked     = true;
                textBoxItemBeforeDecLength.Text = _columnAnalysis.DigitsBeforeDecimal.ToString();

                if (_columnAnalysis.DigitsAfterDecimal > 0)
                {
                    textBoxItemAfterDecLength.Text = _columnAnalysis.DigitsAfterDecimal.ToString();
                }
            }
        }
        public CreateDictionaryItemControl(CreateDictionaryControl.ColumnAnalysis columnAnalysis)
        {
            InitializeComponent();

            _columnAnalysis = columnAnalysis;

            if( !_columnAnalysis.ContainsAlpha && _columnAnalysis.Values.Count >= 1 && _columnAnalysis.Values.Count <= CreateDictionaryControl.ColumnAnalysis.MaxValueSetValues )
            {
                _canCreateValueSet = true;
                checkBoxItemCreateValueSet.Text = String.Format(checkBoxItemCreateValueSet.Text,_columnAnalysis.Values.Count);
            }

            textBoxItemName.Text = CSPro.Names.CreateFromLabel(_columnAnalysis.HeaderText);
            textBoxItemLength.Text = _columnAnalysis.MaximumLength.ToString();

            if( !_columnAnalysis.ContainsAlpha )
            {
                checkBoxItemNumeric.Checked = true;
                textBoxItemBeforeDecLength.Text = _columnAnalysis.DigitsBeforeDecimal.ToString();

                if( _columnAnalysis.DigitsAfterDecimal > 0 )
                    textBoxItemAfterDecLength.Text = _columnAnalysis.DigitsAfterDecimal.ToString();
            }
        }