Rockford Lhotka
    CTO at Magenic
    Author, speaker, software architect
    Creator of the CSLA .NET framework

Home
Blog
CSLA .NET
Magenic
Speaking
Publications
About me
Contact me

Login

VB pp 118-121 (Save,Apply,Cancel,Close buttons)

 

The calls to UnbindBindingSource() have the second parameter reversed beween the Save/Apply and Cancel/Close buttons.

When called in Save or Apply, the calls should be:

      UnbindBindingSource(Me.resourcesBindingSource, True, False)

      UnbindBindingSource(Me.projectBindingSource, True, True)

When called in Close or Cancel, the calls should be:

      UnbindBindingSource(Me.resourcesBindingSource, False, False)

      UnbindBindingSource(Me.projectBindingSource, False, True)

 

 

(Updated 11/1/2007)