void AddLine(string line) { try { txtOutput.Text += line + "\r\n"; txtOutput.SelectionLength = 0; txtOutput.SelectionStart = 0; } catch { } }