private void BrowseBTN_Click(object sender, EventArgs e) { if (CurrentProfilesControl == null) { return; } Opc.Ua.Security.ListOfSecurityProfiles profiles = new SelectProfileDlg().ShowDialog(Profiles, null); if (profiles == null) { return; } Profiles = profiles; if (m_ProfilesChanged != null) { m_ProfilesChanged(this, e); } }