Ejemplo n.º 1
0
 private void FormChildAccessPort_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         myUart.DeviceState = deviceStateBackup;
         myUart.RemoveControl(this);
     }
     catch (Exception ex)
     {
         myUart.Pack_Debug_out(null, "Exception" + "[" + ex.ToString() + "]");
     }
 }
Ejemplo n.º 2
0
 private void FormChildTexture_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         myUart.DeviceState = deviceStateBackup;
         myUart.RemoveControl(this);
     }
     catch (Exception ex)
     {
         //MessageBox.Show(ex.ToString());
     }
 }