First, thanks for all the enhancements done to the ListView, very impressive
I setup a form to test the ListView and found the following issues:
I tested the functionality of the Add/Delete/Edit Objects and they all worked as expected.
One question, when using the ListView with a child BO, I may need to have buttons for Save/Undo if not using a childform object, would you consider adding a SaveObject/UndoObject as well for this case?
Please take a loot at the video in this link: http://www.progytech.com/videos/Beta_ListView\Beta_ListView.html
All of the error providers will then work, however, the InfoBox will not appear and this is by design. That logic is placed in the Save() of the BaseForm and creates a collection list...however, you can add this yourself very easily in your BaseBO. Just handle the BusinessRulesChecked event of the BaseBO, and you will probably want to have a property that determines if the InfoBox will be shown when there are broken rules (this too would be on your BaseBo). The only other property that you may consider adding or testing for is the parent form (or which ever form you may want the InfoBox to show within). But you would then call the InfoBox like this:
You can look at the BaseForm in the Business assembly of the source to see what we do in that dialog.
In the latest update 1.6.6 a new event BeforeChildFormExecuted was added to the ListView control. I noticed that in the ListViewBeforeChildExecuteEventArgs there is no Cancel property to cancel any action handled by the ListView control.
Would it be necessary to add the e.Cancel property, or is there any other way to abort any of the 3 actions allow in the ListView (Add/Edit/Delete)?
I really have the need to be able to cancel out showing the childform dialog from the listview BeforeChildFormExecuted, I have not find a way to do this in a form without having to have all the listview code in the form to manage it.
Have you consider adding an e.Cancel parameter?
Thanks