private void buttonOK_Click(object sender, EventArgs e) { try { myUart.Pack_Debug_out(null, "[Focus] Focus Start"); myApi.SendMovMotorTD(myApi.AutoFocus[0]); timerUartRecv.Interval = 1000 * 30; timerUartRecv.Enabled = true; } catch (Exception ex) { myUart.Pack_Debug_out(null, "Exception" + "[" + ex.ToString() + "]"); } }