private void Debug(string msg) { //Txt1.Text += msg + Environment.NewLine; Txt1.AppendText(msg + Environment.NewLine); }