C# Class SIL.FieldWorks.FwCoreDlgs.SharedBackendServicesHelper

Provides a common place for calls which utilize FDO's SharedBackendServices
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
WarnOnConfirmingSingleUserChanges ( SIL.FieldWorks.FDO.FdoCache cache ) : bool

Display a warning indicating that it may be dangerous to change things that the user has just asked to change when other applications are using this project. The warning should only be shown if, in fact, other applications currently have this project open. Return true to continue, false to discard the changes. This is typically called in response to clicking an OK button in a dialog which changes dangerous user settings.

WarnOnOpeningSingleUserDialog ( SIL.FieldWorks.FDO.FdoCache cache ) : bool

Display a warning indicating that it may be dangerous to change things in the dialog that is about to open when there are other applications using this project. The warning should only be shown if, in fact, other applications currently have this project open. Return true to continue, false to cancel opening the dialog.

Method Details

WarnOnConfirmingSingleUserChanges() public static méthode

Display a warning indicating that it may be dangerous to change things that the user has just asked to change when other applications are using this project. The warning should only be shown if, in fact, other applications currently have this project open. Return true to continue, false to discard the changes. This is typically called in response to clicking an OK button in a dialog which changes dangerous user settings.
public static WarnOnConfirmingSingleUserChanges ( SIL.FieldWorks.FDO.FdoCache cache ) : bool
cache SIL.FieldWorks.FDO.FdoCache
Résultat bool

WarnOnOpeningSingleUserDialog() public static méthode

Display a warning indicating that it may be dangerous to change things in the dialog that is about to open when there are other applications using this project. The warning should only be shown if, in fact, other applications currently have this project open. Return true to continue, false to cancel opening the dialog.
public static WarnOnOpeningSingleUserDialog ( SIL.FieldWorks.FDO.FdoCache cache ) : bool
cache SIL.FieldWorks.FDO.FdoCache
Résultat bool