Config - Departments - in progress
This commit is contained in:
@@ -57,6 +57,9 @@ namespace Sarand.PatientMgr.App
|
||||
SessionContext = new SpmSessionContext_Desktop(0, Site);
|
||||
InitGlobals();
|
||||
//SpmGlobals.DbConsole.VerifyDatabaseSchema();
|
||||
|
||||
// Login the current windows user.
|
||||
SpmGlobals.Application.GetSecurityConsole(SessionContext).LoginAuthenticatedUser();
|
||||
}
|
||||
public void Dispose ()
|
||||
{
|
||||
@@ -120,6 +123,8 @@ namespace Sarand.PatientMgr.App
|
||||
//-------------------------------------------------------------------
|
||||
private void DeinitGlobals ()
|
||||
{
|
||||
if (SpmGlobals_Win.SessionProfile != null)
|
||||
SpmGlobals_Win.SessionProfile.StoreProperties();
|
||||
SpmGlobals.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user