Changeset 40 for trunk/UCore.pas
- Timestamp:
- Mar 9, 2012, 8:11:13 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r38 r40 27 27 LastProfile: Integer; 28 28 LastPassword: string; 29 RememberPassword: Boolean; 29 30 Profiles: TProfileList; 30 31 RegistryKey: string; … … 84 85 LastProfile := ReadIntegerWithDefault('LastConnectProfile', -1); 85 86 LastUserName := ReadStringWithDefault('LastUserName', 'admin'); 87 LastPassword := ReadStringWithDefault('LastPassword', ''); 88 RememberPassword := ReadBoolWithDefault('RememberPassword', False); 86 89 finally 87 90 Free; … … 97 100 WriteInteger('LastConnectProfile', LastProfile); 98 101 WriteString('LastUserName', LastUserName); 102 if RememberPassword then WriteString('LastPassword', LastPassword) 103 else WriteString('LastPassword', ''); 104 WriteBool('RememberPassword', RememberPassword); 99 105 finally 100 106 Free;
Note:
See TracChangeset
for help on using the changeset viewer.