private void DataReceived(string data) { if (data == null) return; if (Output != null) Output(data); _receivedData += data; }