protected FormLog() { InitializeComponent(); repaintTimer = new Timer { Interval = 1000 }; components = new Container(); components.Add(repaintTimer); repaintTimer.Tick += (s, e) => UpdateLines(); instance = this; }