private void SerialPort_ReceivedEvent(object sender, SerialDataReceivedEventArgs e) { string data = MySerial.ReadLine(); listBox1.Items.Add(data); }