public StatType(string statisticType, string statisticSubType, string statisticApplyTo,
ArrayList sendSelectedSessions, bool sex_active,
int statsJumpsType, int limit,
ArrayList markedRows, int evolution_mark_consecutives, GraphROptions gRO,
bool graph, bool toReport, Preferences preferences,
TextWriter writer, string fileName,
int statCount
)
{
this.statisticType = statisticType;
this.statisticSubType = statisticSubType;
this.statisticApplyTo = statisticApplyTo;
this.markedRows = markedRows;
this.evolution_mark_consecutives = evolution_mark_consecutives;
this.graph = graph;
this.toReport = toReport;
this.writer = writer;
this.fileName = fileName;
this.statCount = statCount;
myStatTypeStruct = new StatTypeStruct (
statisticApplyTo,
sendSelectedSessions, sex_active,
statsJumpsType, limit,
markedRows, gRO,
toReport, preferences);
myStat = new Stat(); //create and instance of myStat
}