private void SetLogger(string message) { this.Invoke(new Action(() => { tbLogger.Text += message; tbLogger.Text += Environment.NewLine; })); }