Beispiel #1
0
 public ShipListPanels(ShipInfoPanel parent, EventHandler onClick)
 {
     _onClick    = onClick;
     _toolTip    = parent.ToolTip;
     _shipLines  = new ShipLabelLines(ShipInfo.MemberCount, 16);
     _shipLines7 = new ShipLabelLines(7, 14);
     parent.Controls.AddRange(new Control[] { _combined, _7Ships });
     _shipLines.Create(parent, this);
     _shipLines7.Create(_7Ships, this);
     _combinedLines.Create(_combined, this);
 }
Beispiel #2
0
 public FighterPower(ShipInfoPanel parent)
 {
     _parent = parent;
     parent.Controls.AddRange(new Control[] { _fighterPowerCaption, _fighterPower });
 }