Changeset 13 for trunk/ImportZWebu.pas
- Timestamp:
- Nov 27, 2009, 8:36:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ImportZWebu.pas
r6 r13 246 246 procedure TForm8.LoadCountRegServers; 247 247 var 248 reg: TRegistry;248 Reg: TRegistry; 249 249 begin 250 250 Reg := TRegistry.Create; 251 251 try 252 252 // načítání pozice formuláře 253 if Reg.OpenKey(R +'CountSerers', False) then begin253 if Reg.OpenKey(R + 'CountSerers', False) then begin 254 254 CountWoWStatusServers := Reg.ReadInteger('WoWStatus'); 255 255 CountWoWResourceServers := Reg.ReadInteger('WoWResource'); 256 256 end; 257 257 finally 258 reg.Free;258 Reg.Free; 259 259 end; 260 260 end; … … 262 262 procedure TForm8.SaveCountRegServers; 263 263 var 264 reg: TRegistry;264 Reg: TRegistry; 265 265 begin 266 266 Reg := TRegistry.Create; … … 268 268 try 269 269 // načítání pozice formuláře 270 if Reg.OpenKey(R +'CountSerers', True) then begin271 Reg.WriteInteger('WoWStatus', CountWoWStatusServers);272 Reg.WriteInteger('WoWResource', CountWoWResourceServers);270 if Reg.OpenKey(R + 'CountSerers', True) then begin 271 Reg.WriteInteger('WoWStatus', CountWoWStatusServers); 272 Reg.WriteInteger('WoWResource', CountWoWResourceServers); 273 273 end; 274 274 finally 275 reg.Free;275 Reg.Free; 276 276 end; 277 277 end;
Note:
See TracChangeset
for help on using the changeset viewer.