private void button5_Click(object sender, EventArgs e) { string url = new DiscoverServerDlg().ShowDialog(client.AppConfiguration, null); if (!string.IsNullOrEmpty(url)) { textBox3.Text = url; } }
private void discoverToolStripMenuItem_Click(object sender, EventArgs e) { string endpointUrl = new DiscoverServerDlg().ShowDialog(m_OpcUaClient.AppConfig, null); if (endpointUrl != null) { textBox1.Text = endpointUrl; } }
private void discoverBTN_Click(object sender, EventArgs e) { string endpointUrl = new DiscoverServerDlg().ShowDialog(m_configuration, ""); if (endpointUrl != null) { serverURITB.Text = endpointUrl; } }