StatType.StatType C# (CSharp) Method

StatType() public method

public StatType ( string statisticType, string statisticSubType, string statisticApplyTo, Gtk treeview_stats, ArrayList sendSelectedSessions, bool sex_active, int statsJumpsType, int limit, ArrayList markedRows, int evolution_mark_consecutives, GraphROptions gRO, bool graph, bool toReport, Preferences preferences ) : System
statisticType string
statisticSubType string
statisticApplyTo string
treeview_stats Gtk
sendSelectedSessions ArrayList
sex_active bool
statsJumpsType int
limit int
markedRows ArrayList
evolution_mark_consecutives int
gRO GraphROptions
graph bool
toReport bool
preferences Preferences
return System
    public StatType(string statisticType, string statisticSubType, string statisticApplyTo, Gtk.TreeView treeview_stats,
			ArrayList sendSelectedSessions, bool sex_active, int statsJumpsType, int limit, 
			ArrayList markedRows, int evolution_mark_consecutives, GraphROptions gRO,
			bool graph, bool toReport, Preferences preferences)
    {
        //some of this will disappear when we use myStatTypeStruct in all classes:
        this.statisticType = statisticType;
        this.statisticSubType = statisticSubType;
        this.statisticApplyTo = statisticApplyTo;
        this.treeview_stats = treeview_stats ;

        this.markedRows = markedRows;

        this.evolution_mark_consecutives = evolution_mark_consecutives;

        this.graph = graph;
        this.toReport = toReport;

        myStatTypeStruct = new StatTypeStruct (
                statisticApplyTo,
                sendSelectedSessions, sex_active,
                statsJumpsType, limit,
                markedRows, gRO,
                toReport, preferences);

        myStat = new Stat(); //create an instance of myStat

        fakeButtonRowCheckedUnchecked = new Gtk.Button();
        fakeButtonRowsSelected = new Gtk.Button();
        fakeButtonNoRowsSelected = new Gtk.Button();
    }

Same methods

StatType::StatType ( ) : System
StatType::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 ) : System