Exemple #1
0
 void ApplicationOnLoggedOff(object sender, EventArgs eventArgs) {
     XpandModuleBase.ObjectSpaceCreated = false;
     var xafApplication = ((XafApplication)sender);
     xafApplication.LoggedOff -= ApplicationOnLoggedOff;
     if (xafApplication.GetPlatform()==Platform.Win){
         Application.ObjectSpaceCreated += ConnectionStringActions;
     }
     else
         XpandModuleBase.RemoveCall(ConnectionStringHelperName, _xpandModuleBase.ModuleManager);
 }