public void updateProbabilities()
        {
            try {
                double[] credsFixed   = this.getProbabilities(true);
                double[] credsNoFixed = this.getProbabilities(false);
                double[] updatedCreds;
                updatedCreds = updateCredibilitiesDirectMethod(credsNoFixed, credsFixed);

                for (int i = 0; i < numberControls; i++)
                {
                    NumericUpDownButton tmpNum = ((NumericUpDownButton)this.PN_options.Controls[i]);
                    if (!tmpNum.isFixed())
                    {
                        tmpNum.Value = updatedCreds[i].ToString();
                    }
                }
            } catch (Exception e) {
                throw e;
            }
        }
        public void configInputControls()
        {
            this.NumericList.Clear();
            this.PN_options.Controls.Clear();

            int EixoX = 10, EixoY = 0;


            NumericUpDownButton tmpNum = null;

            for (int i = 0; i < this.numberControls; i++)
            {
                tmpNum = new NumericUpDownButton();

                tmpNum.Location = new System.Drawing.Point(EixoX, EixoY);
                tmpNum.Name     = "NUP_alternative" + i;
                tmpNum.Size     = new System.Drawing.Size(this.distanceAxisX - 10, 52);
                tmpNum.TabIndex = 2;

                if (lbTextList != null && i < lbTextList.Length)
                {
                    tmpNum.lb_Text = lbTextList[i];
                }

                tmpNum.Value     = ((double)1 / this.numberControls).ToString();
                tmpNum.upper     = this.maximum;
                tmpNum.lower     = this.minimum;
                tmpNum.increment = this.increment;
                tmpNum.getNumericControl.MouseUp += new MouseEventHandler(OnMouseUpNumericUpDown);
                tmpNum.getNumericControl.KeyUp   += new KeyEventHandler(OnKeyUpNumericUpDown);

                EixoX += distanceAxisX;
                this.PN_options.Controls.Add(tmpNum);
                this.NumericList.Add(tmpNum);
            }
            if (tmpNum != null)
            {
                tmpNum.Fixed = false;
            }
        }