private void seFactor_EditValueChanged(object sender, EventArgs e)
        {
            EquationRangeDistribution distribution = Colorizer.RangeDistribution as EquationRangeDistribution;

            if (distribution == null)
            {
                return;
            }

            distribution.Factor = (double)seFactor.Value;
        }
        private void cbRangeDistribution_SelectedIndexChanged(object sender, EventArgs e)
        {
            RangeDistributionBase selectedDistribution = cbRangeDistribution.SelectedItem as RangeDistributionBase;

            if (selectedDistribution == null)
            {
                return;
            }

            if (selectedDistribution.Equals(distributions[0]))
            {
                seFactor.Enabled = false;
            }
            else
            {
                seFactor.Enabled = true;
                EquationRangeDistribution eqDistribution = selectedDistribution as EquationRangeDistribution;
                eqDistribution.Factor = (double)seFactor.Value;
            }

            Colorizer.RangeDistribution = selectedDistribution;
        }