Esempio n. 1
0
        /// <summary>
        /// Select target variant non-functional property
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void TargetPropertyBox_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            pictureBox5.ImageLocation = null;

            _model.LoadTargetDistributionForProperty((string)TargetPropertyBox.SelectedItem);
            TargetValueBox.ResetText();
            TargetValueBox.Items.Clear();

            foreach (var d in _model.AvailableDistributions.Where(d => d.DistType == Distribution.DistributionType.Variant))
            {
                TargetValueBox.Items.Add(d);
            }
        }