void BtnGCNGMapClick(object sender, EventArgs e) { String fct = "mappublishnotifications"; try { if (!SpecialFeatures.SpecialFeaturesMgt.AreSpecialFeaturesEnabled()) { return; } List <GCNotification> associatedGCN; List <String> ids = GetSelectedIds(out associatedGCN); if (ids.Count == 0) { _daddy.MsgActionWarning(this, _daddy.GetTranslator().GetString("LblErrorNoSelectionElt")); return; } DialogResult dialogResult = MessageBox.Show(_daddy.GetTranslator().GetString("AskConfirm"), _daddy.GetTranslator().GetString(fct), MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (dialogResult == DialogResult.Yes) { NotificationsManager.MapNotificationsImpl(_daddy, ids); } } catch (Exception ex) { _daddy.ShowException("", _daddy.GetTranslator().GetString(fct), ex); } }