Changeset 52 for trunk/Client/Forms
- Timestamp:
- Apr 3, 2012, 7:28:01 AM (13 years ago)
- Location:
- trunk/Client/Forms
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Client/Forms/UFormItemAdd.pas
r46 r52 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 9 StdCtrls, Spin, EditBtn, MaskEdit, USqlDatabase, USystem, 10 SpecializedDictionary, SpecializedList, U ChronisClient;10 SpecializedDictionary, SpecializedList, UPDClient; 11 11 12 12 type -
trunk/Client/Forms/UFormItemEdit.pas
r49 r52 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 9 StdCtrls, Spin, EditBtn, USqlDatabase, MaskEdit, ComCtrls, USystem, 10 SpecializedList, SpecializedDictionary, U ChronisClient;10 SpecializedList, SpecializedDictionary, UPDClient; 11 11 12 12 type -
trunk/Client/Forms/UFormLoginProfile.pas
r50 r52 10 10 11 11 type 12 TConnectProtocol = (cpXMLRPC, cpDirect, cpMySQL );12 TConnectProtocol = (cpXMLRPC, cpDirect, cpMySQL, cpINI, cpRegistry, cpSQLLite); 13 13 14 14 { TConnectProfile } -
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; -
trunk/Client/Forms/UFormMenu.pas
r49 r52 54 54 55 55 uses 56 UFormMain, USystem, U ChronisClient, UChronisClientMySQL, UCore;56 UFormMain, USystem, UPDClient, UCore; 57 57 58 58 procedure TFormMenu.TreeViewMenuChange(Sender: TObject; Node: TTreeNode);
Note:
See TracChangeset
for help on using the changeset viewer.