private void ForForm1MainControlLoad() { CommunicationPort = new _Driver_SerialPortClass(); CommunicationPort.SerialPort_DataReceived_EventSendOut += new EventHandler(Communication_ReceivedDataFunction); // 訂閱(subscribe) SerialPort_DataReceived_EventSendOut 事件 IsConnectionToFaDevice = false; ScaningDeviceTimer.Interval = ScaningDeviceTimer_Interval_Time; ScaningDeviceTimer.Tick += new EventHandler(ScaningDeviceTimerEventProcessor); ScaningDeviceTimer.Start(); }