Example #1
0
        private void FrmLongTaskTagRecv_FormClosing(object sender, FormClosingEventArgs e)
        {
            recvfrm = null;

#if SaveTagLog
            smwter.Flush();
            smwter.Close();
            smrawwter.Flush();
            smrawwter.Close();
#endif
        }
Example #2
0
 private void btnDataRecv_Click(object sender, EventArgs e)
 {
     if (FrmLongTaskTagRecv.recvfrm != null)
     {
         FrmLongTaskTagRecv.recvfrm.Focus();
     }
     else
     {
         FrmLongTaskTagRecv frm = new FrmLongTaskTagRecv();
         frm.Show();
     }
 }