/// <summary>
            /// Constructor of this class.
            /// </summary>
            /// <param name="opt">NumericOption with information for the componentsy</param>
            public NumericPanel(NumericOption opt, double currValue)
            {
                if (opt == null)
                    throw new ArgumentNullException("Parameter option must not be null!");

                option = opt;
                upDown = new OwnNumericUpDown(option.getAllValues(), currValue);
                upDown.MouseWheel += UpDown_MouseWheel;

                initializePanel(option);
            }