The reference manual does indicate that the 'EntityContentsChanged' event is available. I have bound a number of TextBox controls in a windows form to an Entity and expect the event to be fired if any of the values change as outlined in this extract of the code:
private void BindSupplierToGui()
{
...
tbName.DataBindings.Add("Text", _currentSupplier, "Name");
...
_currentSupplier.EntityContentsChanged += new EventHandler(_currentSupplier_EntityContentsChanged);
}
private void _currentSupplier_EntityContentsChanged(object sender, EventArgs e)
{
// enable the save button only if the supplier's data is dirty so a save is necessary.
btnSave.Enabled = _currentSupplier.Fields.IsDirty;
}
The event fires as expected with the .Net 1.1 runtimes but fails with the .Net 2.0 version. Obviously, I can add changed events for each of the windows forms controls but the Entity event looked like an ideal solution for ensuring that all fields are handled.
Thanks for your response.