var cb = (CheckBox)sender;\r
var group = (int)cb.Tag % 10;\r
var idx = (int)cb.Tag / 10;\r
+ GroupSettings[group].RemoveAll(id => id == _shipListPanel.GetShip(idx).Id);\r
if (cb.Checked)\r
- {\r
GroupSettings[group].Add(_shipListPanel.GetShip(idx).Id);\r
- }\r
- else\r
- {\r
- GroupSettings[group].Remove(_shipListPanel.GetShip(idx).Id);\r
- }\r
GroupUpdated = true;\r
}\r
\r