private int countByResolution() { int ret = 0; using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient()) { ret = client.CountByResolution(resComboBox.SelectedItem.ToString()); } return(ret); }
private List <String> getColumnNames() { List <String> ret = new List <String>(); using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient()) { ret = client.GetColumnNames(); } return(ret); }
private int countByManufacturer() { int ret; using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient()) { ret = client.CountByManufacturer(mfrTxt.Text); } return(ret); }
private List <String> getAvailableResoltions() { List <String> ret = new List <String>(); using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient()) { ret = client.GetResolutions(); } return(ret); }
private void exportFeaturesToXML() { ArrayOfString checkedItems = new ArrayOfString(); if (saveXMLFileDialog.ShowDialog() != DialogResult.Cancel) { using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient()) { foreach (var item in featuresList.CheckedItems) { checkedItems.Add(item.ToString()); } client.ExportToXML(checkedItems, saveXMLFileDialog.FileName); MessageBox.Show("Exported to " + saveXMLFileDialog.FileName); } } }