83 |
|
return; |
84 |
|
} |
85 |
|
|
86 |
< |
//// Save the database directory to registry |
87 |
< |
//ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); |
88 |
< |
//ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); |
86 |
> |
// Save the database directory to registry |
87 |
> |
ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); |
88 |
> |
ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); |
89 |
|
|
90 |
|
// Set up database |
91 |
|
dataSupport = new DatabaseSupport(); |
140 |
|
return; |
141 |
|
|
142 |
|
} |
143 |
< |
//// Save the database directory to registry |
144 |
< |
//ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); |
145 |
< |
//ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); |
143 |
> |
// Save the database directory to registry |
144 |
> |
ProSupport.strDatabasePath = txtDatabasePath.Text.Trim(); |
145 |
> |
ATSGlobals.SetATSRegValue(ProSupport.strRegDatabaseDir, ProSupport.strDatabasePath); |
146 |
|
|
147 |
|
// Save mode |
148 |
|
ATSGlobals.SetATSRegValue(ATSGlobals.strRegManagedMode, ATSGlobals.managedMode); |