public ProgressThread(ref ProgressPanel pp, ref ProgressGenerator pg) { m_Panel = pp; m_Generator = pg; }