I'm looking to add a multiple parameter choice, using a scrolling windows.
I tried with switch case:
===============================================
public enum CaseType {Case1, Case2};
protected override void Initialize()
{
ParameterSettings();
}
protected void ParameterSettings()
{
switch(Case_input)
{
case CaseType.Case1:
Case_A = 50;
break;
case CaseType.Case2:
Case_B = 60;
break;
}
}
Properties
[Description("")]
[Category("Parameters")]
public CaseType Case_input
{
get { return caseType; }
set { caseType = value;ParameterSettings(); }
}
================================================== ======
I always get the following error:
The type or namespace name '<name>' could not be found (are you missing a using directive or an assembly reference?) with the row number specified.
Is there something am I missing?
Anybody can put me on th right way?
Thanks.
Max

Comment