private Connection() { gdaProxy = new NetworkModelGDAProxy("NetworkModelGDAEndpoint"); try { gdaProxy.Open(); } catch { MessageBox.Show("Service host is not started."); } }
public TestGda() { if (gdaQueryProxy == null) { gdaQueryProxy = new NetworkModelGDAProxy("NetworkModelGDAEndpoint"); try { gdaQueryProxy.Open(); } catch { } } }