public Form1() { InitializeComponent(); dataGridView1.Columns.Add("UserID", "UserID"); dataGridView1.Columns.Add("ListenedSID", "ListenedSID"); dataGridView1.Columns.Add("Brocker", "Brocker"); dataGridView1.Columns.Add("Email", "Email"); try { _clientsManager = null; _clientsManager = new ExternalCleitnManagerClient(); _clientsManager.Open(); } catch (Exception e) { ShowError("Cannot initialize connection to web service"); } }
public Form1() { InitializeComponent(); dataGridView1.Columns.Add("UserID", "UserID"); dataGridView1.Columns.Add("ListenedSID", "ListenedSID"); dataGridView1.Columns.Add("Brocker", "Brocker"); dataGridView1.Columns.Add("Email", "Email"); try { _clientsManager = null; _clientsManager = new ExternalCleitnManagerClient(); _clientsManager.Open(); } catch (Exception e) { ShowError("Cannot initialize connection to web service"); } }
static void Main(string[] args) { ExternalCleitnManagerClient cl = new ExternalCleitnManagerClient(); Console.WriteLine(cl.GetVersion()); }