-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChainSolverMinL64.dpr
78 lines (65 loc) · 2.07 KB
/
ChainSolverMinL64.dpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
program ChainSolverMinL64;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
uses
{$IFnDEF FPC}
{$ELSE}
Interfaces,
{$ENDIF}
Forms,
UnitChainEditorMin in 'UnitChainEditorMin.pas' {_FormChainEditor},
ChainClassesMin in 'ChainClassesMin.pas',
CadClassesMin in 'CadClassesMin.pas',
UnitLookInOOB in 'UnitLookInOOB.pas' {_FormLookInOOB},
UnitFormMemoOkCancel in 'UnitFormMemoOkCancel.pas' {_FormMemoOKCancel},
NuclideClassesMin, UnitSplashSolverMin {_FormSplashSolver};
{$R *.res}
begin
RequireDerivedFormResource := False;
Application.Scaled := True;
Application.Initialize;
_FormSplashSolver:= T_FormSplashSolver.Create(Application);
with _FormSplashSolver do
begin
Show;
Update; {Process any pending Windows paint messages}
end;
Application.HelpFile:= 'ChainSolver.hlp';
Application.Title:= 'ChainSolverMin(CT W32)';
Application.CreateForm(T_FormChainEditor, _FormChainEditor);
with _FormSplashSolver do
begin
ProgressBar.Position:= (ProgressBar.Position + 1) mod ProgressBar.Max;
Update; {Process any pending Windows paint messages}
end;
Application.CreateForm(T_FormLookInOOB, _FormLookInOOB);
with _FormSplashSolver do
begin
ProgressBar.Position:= (ProgressBar.Position + 1) mod ProgressBar.Max;
Update; {Process any pending Windows paint messages}
end;
Application.CreateForm(T_FormMemoOKCancel, _FormMemoOKCancel);
with _FormSplashSolver do
begin
ProgressBar.Position:= (ProgressBar.Position + 1) mod ProgressBar.Max;
Update; {Process any pending Windows paint messages}
end;
_FormChainEditor.FormInit(nil);
with _FormSplashSolver do
begin
ProgressBar.Position:= (ProgressBar.Position + 1) mod ProgressBar.Max;
Update; {Process any pending Windows paint messages}
end;
_FormChainEditor.Show;
Application.ProcessMessages;
_FormChainEditor.KeyPreview:= True;
with _FormSplashSolver do
begin
ProgressBar.Position:= (ProgressBar.Position + 1) mod ProgressBar.Max;
Update; {Process any pending Windows paint messages}
end;
_FormChainEditor.OnKeyUp:= _FormChainEditor.FormKeyUp;
_FormChainEditor.Caption:= Application.Title;
Application.Run;
end.