public void Start() { if (client != null) { return; } client = new CommUtil.Tcp.TcpClient(serverAddress, serverPort); client.Start(); RaiseEnabledPropertiesChanged(); }
public void Stop() { if (client == null) { return; } client.Stop(); client = null; RaiseEnabledPropertiesChanged(); }
public void Stop() { if(client == null) return; client.Stop(); client = null; RaiseEnabledPropertiesChanged(); }
public void Start() { if(client != null) return; client = new CommUtil.Tcp.TcpClient(serverAddress, serverPort); client.Start(); RaiseEnabledPropertiesChanged(); }