void UpdateSettings() { if (OscTXmap.allTXmaps != null) { foreach (OscTXmap.TXmap tm in OscTXmap.allTXmaps) { if (_txSymbol == tm.txSymbol) { _udpPort = tm.portNumber; _ipAddress = tm.address; break; } } } _client = OscMaster.GetSharedClient(_ipAddress, _udpPort); if (_dataSource != null && !string.IsNullOrEmpty(_propertyName)) { _propertyInfo = _dataSource.GetType().GetProperty(_propertyName); } else { _propertyInfo = null; } }
void UpdateSettings() { try { _client = OscMaster.GetSharedClient(_ipAddress, _udpPort); SendMessage("SetConnected"); //let IPSetter know the client is connected } catch { SendMessage("InvalidClient"); //let IPSetter know that the client is invalid } }
void UpdateSettings() { _client = OscMaster.GetSharedClient(_ipAddress, _udpPort); if (_dataSource != null && !string.IsNullOrEmpty(_propertyName)) { _propertyInfo = _dataSource.GetType().GetProperty(_propertyName); } else { _propertyInfo = null; } }