Changeset 52 for trunk/Client/Forms/UFormMain.pas
- Timestamp:
- Apr 3, 2012, 7:28:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Client/Forms/UFormMain.pas
r50 r52 92 92 uses 93 93 UFormItemView, UFormItemEdit, UFormItemAdd, UFormLogin, UFormSetting, UApplicationInfo, 94 UCore, UFormImportStructure, UFormAbout, UFormLoginProfile, U ChronisClientDirect,95 U ChronisClient, UChronisClientMySQL, UChronisClientXMLRPC, UFormMenu;94 UCore, UFormImportStructure, UFormAbout, UFormLoginProfile, UPDClientIni, 95 UPDClient, UPDClientMySQL, UPDClientXMLRPC, UFormMenu, UPDClientRegistry; 96 96 97 97 {$R *.lfm} … … 241 241 with TConnectProfile(Core.Profiles[Core.LastProfile]) do begin 242 242 FreeAndNil(Core.System.Client); 243 if Protocol = cpMySQL then Core.System.Client := TChronisClientMySQL.Create 244 else if Protocol = cpDirect then Core.System.Client := TChronisClientDirect.Create 245 else if Protocol = cpXMLRPC then Core.System.Client := TChronisClientXMLRPC.Create; 243 if Protocol = cpMySQL then Core.System.Client := TPDClientMySQL.Create 244 //else if Protocol = cpDirect then Core.System.Client := TPDClientDirect.Create 245 else if Protocol = cpXMLRPC then Core.System.Client := TPDClientXMLRPC.Create 246 else if Protocol = cpINI then Core.System.Client := TPDClientIni.Create 247 else if Protocol = cpRegistry then Core.System.Client := TPDClientRegistry.Create; 246 248 Core.System.Client.Host := HostName; 247 249 Core.System.Client.Schema := Database;
Note:
See TracChangeset
for help on using the changeset viewer.