public RepairShipButton(int dock, RepairForm1 par) { dockid = dock; form = par; Click += new EventHandler(CommandButtonClick); }