private void UpdateClientInformation() { if (_selectedClient == null) { return; } var selectedClientServices = XmlWorker.GetServices(_selectedClient.Login); _selectedClient.Services = selectedClientServices; uiClientServicesListBox.DataSource = _selectedClient.Services; }
private void UpdateServicesInformation() { var services = XmlWorker.GetServices(); uiServicesListBox.DataSource = services; }