示例#1
0
文件: final.cs 项目: rounakdatta/spc
 private void flushbutton_Click(object sender, EventArgs e)
 {
     try
     {
         COMport.DiscardInBuffer();
     }
     catch (Exception E)
     { }
 }
示例#2
0
 private void flushbutton_Click(object sender, EventArgs e)
 {
     try
     {
         COMport.DiscardInBuffer();
     }
     catch (Exception E)
     {
         MessageBox.Show(E.ToString());
     }
 }