Inherits from the ModificationsController to implement Windows Forms specific behavior.
public class WinModificationsController : ModificationsController
Public Class WinModificationsController Inherits ModificationsController
The WinModificationsController adds the following functionality to the base ModificationsController:
When executing the Save Action, the Controller commits the changes .
The Action is disabled when the current object is not modified.
When executing the SaveAndClose Action, the Controller commits the changes made to the current object and closes the current View.
Rolls back the changes made to the current object (see BaseObjectSpace.Rollback) and retrieves the object from the database again.
The Action is set to disabled, when the data is not modified.
Overrides this method to check whether to update the Save, Cancel and SaveAndClose Actions' enabled state, depending on whether the current object has been modified or the AutoCommitListView property value has changed. The SaveAndNew Action is activated for Detail Views only.