public int Start(List <IStep> steps) { _steps = steps; t1 = new Thread(ModelHelper.RenderingGeneric); t1.Start(new ThreadObject { WhatToWrite1 = msg1, WhatToWrite2 = msg2, Steps = _steps }); //t2 = new Thread(ModelHelper.RenderingGeneric); //t2.Start(new ThreadObject { WhatToWrite = msg2, Steps = _steps, FirstLine = false }); int totallenght1 = 0; int totallenght2 = 0; List <bool[, ]> msg1List = null; List <bool[, ]> msg2List = null; int tmpmax = 0; ModelHelper.Build(msg1, msg2, out msg1List, out msg2List, out totallenght1, out totallenght2, out tmpmax); return(ModelHelper.period * (tmpmax)); }