Stat.completeConstruction C# (CSharp) Method

completeConstruction() protected method

protected completeConstruction ( StatTypeStruct myStatTypeStruct, Gtk treeview ) : void
myStatTypeStruct StatTypeStruct
treeview Gtk
return void
    protected void completeConstruction(StatTypeStruct myStatTypeStruct, Gtk.TreeView treeview)
    {
        //TODO: check, this is weird...
        this.sessions = myStatTypeStruct.SendSelectedSessions;
        pDN = myStatTypeStruct.preferences.digitsNumber;
        this.showSex = myStatTypeStruct.Sex_active;
        this.statsJumpsType = myStatTypeStruct.StatsJumpsType;
        this.heightPreferred = myStatTypeStruct.preferences.heightPreferred;
        this.weightStatsPercent = myStatTypeStruct.preferences.weightStatsPercent;
        this.statsJumpsType = myStatTypeStruct.StatsJumpsType;
        this.limit = myStatTypeStruct.Limit;
        this.jumpType = myStatTypeStruct.StatisticApplyTo;

        this.markedRows = myStatTypeStruct.MarkedRows;

        this.gRO = myStatTypeStruct.GRO;
        this.toReport = myStatTypeStruct.ToReport;
        this.graphTranslate = myStatTypeStruct.preferences.RGraphsTranslate;
        this.useHeightsOnJumpIndexes = myStatTypeStruct.preferences.useHeightsOnJumpIndexes;

        this.treeview = treeview;

        //initialize reportString
        reportString = "";

        iter = new TreeIter();

        personsWithData = new ArrayList();
    }