Question about _bindingEdit

Question about _bindingEdit

Old forum URL: forums.lhotka.net/forums/t/4889.aspx


JoeyTu posted on Thursday, May 22, 2008

 if (!_bindingEdit || value is FieldManager.FieldDataManager)
         ((Core.IUndoableObject)value).CopyState(this.EditLevel + 1);

What's !_bindingEdit's action ?

thanks

RockfordLhotka replied on Friday, May 23, 2008

This was a change made in version 3.0.2 to address ongoing issues with data binding in Windows Forms. You can read through the change log, and there are a couple long and thorough threads on the forum from that time period where you can see the research that went into this change (several people on the forum were instrumental in figuring this out - thank you guys!!).

It does appear that there's a bug with the 3.5 code you are showing. See these threads

http://forums.lhotka.net/forums/thread/23752.aspx

http://forums.lhotka.net/forums/thread/20590.aspx

I have a possible fix checked into the C# version of 3.5 in svn that hopefully addresses the issue.

Copyright (c) Marimer LLC