Changeset 38 for trunk/Forms
- Timestamp:
- Mar 8, 2012, 3:40:45 PM (13 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UImportStructureForm.pas
r21 r38 94 94 procedure TImportStructureForm.FormShow(Sender: TObject); 95 95 begin 96 EditHost.Text := Core.S qlDatabase1.HostName;97 EditUser.Text := Core.S qlDatabase1.UserName;98 EditSchema.Text := Core.S qlDatabase1.Database;96 EditHost.Text := Core.System.Client.Host; 97 EditUser.Text := Core.System.Client.User; 98 EditSchema.Text := Core.System.Client.Schema; 99 99 end; 100 100 -
trunk/Forms/UMainForm.pas
r37 r38 170 170 procedure TMainForm.FormDestroy(Sender: TObject); 171 171 begin 172 Report.Free;173 TreeState.Free;174 PersistentForm.Free;172 FreeAndNil(Report); 173 FreeAndNil(TreeState); 174 FreeAndNil(PersistentForm); 175 175 end; 176 176 … … 254 254 procedure TMainForm.AConnectExecute(Sender: TObject); 255 255 begin 256 try 257 LoginForm := TLoginForm.Create(MainForm); 256 258 Core.Profiles.LoadFromRegistry(Core.RegistryRootKey, Core.RegistryKey); 257 259 if LoginForm.ShowModal = mrOK then begin … … 273 275 end; 274 276 end; 277 finally 278 LoginForm.Free; 279 end; 275 280 end; 276 281 … … 304 309 procedure TMainForm.MenuItem17Click(Sender: TObject); 305 310 begin 306 LoginForm.ShowModal; 311 try 312 LoginForm := TLoginForm.Create(MainForm); 313 LoginForm.ShowModal; 314 finally 315 LoginForm.Free; 316 end; 307 317 end; 308 318
Note:
See TracChangeset
for help on using the changeset viewer.