Exemple #1
0
 void OnDecodeTimer(object sender, EventArgs e)
 {
     if (ph.ParseAllPackets())
     {
         _doDisplay = true;
     }
 }
 void OnDecodeTimer(object sender, EventArgs e)
 {
     try
     {
         if (m_protocolHandler.ParseAllPackets())
         {
             DisplayValues();
         }
     }
     catch (InvalidOperationException)
     {
         timerDisable();
         CloseCommunication();
         this.statusCheckbox.Enabled = false;
     }
 }