If the United Kingdom leaves the EU France wouldl have to pay its rightful dues and that would never do. All the 'basket case' countries would continue to be net receivers of money. France and Germany would argue. The whole edifice would soon collapse.
How would this affect Hungary?
Bring it on.