void StatusEditorControl_MapChanged(object sender, MapChangedEventArgs e) { foreach (DeviceConnection connection in this.Element.AccessoryConnections) { if (connection != null) { DeviceConnection.Save(connection); } } }