Why would overwriting .GetHashCode clear these databound values in WinForms?
问题 We have run into a strange bug that we're having problems debugging. We have a MDI workspace that uses Microsoft CAB, DevExpress components, and .Net 3.5. If users open two windows in the workspace that each contain a UserControl bound to two separate data models, then minimize both of them, the first window to minimize is getting it's bound fields cleared when the second one minimizes. The .Equals and .GetHashCode methods of the data model have been overridden so that both data models are