Example #1
0
        private void opParam_ValueChanged(object sender, EventArgs e)
        {
            IValueParameter <T> opParam = (IValueParameter <T>)sender;

            if (opParam.Value == null)
            {
                operators.RemoveAt(operatorParameters.IndexOf(opParam));
            }
            else
            {
                operators[operatorParameters.IndexOf(opParam)] = opParam.Value;
            }
        }