private void flushbutton_Click(object sender, EventArgs e) { try { COMport.DiscardInBuffer(); } catch (Exception E) { } }
private void flushbutton_Click(object sender, EventArgs e) { try { COMport.DiscardInBuffer(); } catch (Exception E) { MessageBox.Show(E.ToString()); } }