/*add the delegate of command client connection to the private class event*/ public void AddToConnectorEvent(connectDelegate connector) { //add the delegate to the ConnectEvent in the TCPListener wrapper this.server.connectEvent += connector; }
/// <summary> /// 初始化组件 /// </summary> public SCPI_Expert() { InitializeComponent(); this.connect = this.connectInstru; }