23 |
|
|
24 |
|
uses |
25 |
|
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, |
26 |
< |
StdCtrls, IBServices; |
26 |
> |
StdCtrls, IBXServices; |
27 |
|
|
28 |
|
type |
29 |
|
|
43 |
|
private |
44 |
|
|
45 |
|
public |
46 |
< |
function ShowModal(const aDatabaseName: string; var aShutDownmode: TShutdownMode; |
46 |
> |
function ShowModal(const aDatabaseName: string; var aShutDownmode: TDBShutdownMode; |
47 |
|
var aDelay: integer): TModalResult; |
48 |
|
end; |
49 |
|
|
62 |
|
end; |
63 |
|
|
64 |
|
function TShutdownReqDlg.ShowModal(const aDatabaseName: string; |
65 |
< |
var aShutDownmode: TShutdownMode; var aDelay: integer): TModalResult; |
65 |
> |
var aShutDownmode: TDBShutdownMode; var aDelay: integer): TModalResult; |
66 |
|
begin |
67 |
|
ShutdownOptions.ItemIndex := ord(aShutDownmode); |
68 |
|
DatabaseName.Text := aDatabaseName; |
70 |
|
if Result = mrOK then |
71 |
|
begin |
72 |
|
aDelay := StrToInt(Delay.Text); |
73 |
< |
aShutDownmode := TShutdownMode(ShutdownOptions.ItemIndex); |
73 |
> |
aShutDownmode := TDBShutdownMode(ShutdownOptions.ItemIndex); |
74 |
|
end; |
75 |
|
end; |
76 |
|
|