Exemple #1
0
        private int countByResolution()
        {
            int ret = 0;

            using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient())
            {
                ret = client.CountByResolution(resComboBox.SelectedItem.ToString());
            }

            return(ret);
        }
Exemple #2
0
        private List <String> getColumnNames()
        {
            List <String> ret = new List <String>();

            using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient())
            {
                ret = client.GetColumnNames();
            }

            return(ret);
        }
Exemple #3
0
        private int countByManufacturer()
        {
            int ret;

            using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient())
            {
                ret = client.CountByManufacturer(mfrTxt.Text);
            }

            return(ret);
        }
Exemple #4
0
        private List <String> getAvailableResoltions()
        {
            List <String> ret = new List <String>();

            using (ISWebService.SWebServiceSoapClient client = new ISWebService.SWebServiceSoapClient())
            {
                ret = client.GetResolutions();
            }

            return(ret);
        }
Exemple #5
0
        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);
                }
            }
        }