G
Guest
hi,
i need help building multiple instances of an enumerator and naming each one
filter1, filter2, filterN depending on how many the user requires, here is
the code i have so far
public enum FilterType
{
None,
ADX
MOM
}
public class System()
{
private int noOfFilters = 0;
[Category("Filters")]
public int NoOfFilters
{
get { return noOfFilters;}
set { noOfFilters = value;}
}
public void makeFilters(int i)
{
i = noOfFilters;
for (int j, j < i-1, j++)
{
int k = j+1;
private FilterType */do not know to name the instance filter1,
filter2 etc*/ = FilterType.None;
}
i need help building multiple instances of an enumerator and naming each one
filter1, filter2, filterN depending on how many the user requires, here is
the code i have so far
public enum FilterType
{
None,
ADX
MOM
}
public class System()
{
private int noOfFilters = 0;
[Category("Filters")]
public int NoOfFilters
{
get { return noOfFilters;}
set { noOfFilters = value;}
}
public void makeFilters(int i)
{
i = noOfFilters;
for (int j, j < i-1, j++)
{
int k = j+1;
private FilterType */do not know to name the instance filter1,
filter2 etc*/ = FilterType.None;
}