private void FormShortcutFiveAxis_Load(object sender, EventArgs e) { try { buttonMoveStart.Enabled = false; buttonMoveStop.Enabled = false; if (myUart.port_UART.IsOpen) { myApi.SendGetAngleABXYZ(); timerUartRecv.Interval = 1000 * 5; timerUartRecv.Enabled = true; } else { } } catch (Exception ex) { myUart.Pack_Debug_out(null, "Exception" + "[" + ex.ToString() + "]"); } }