-
Notifications
You must be signed in to change notification settings - Fork 0
/
Unit8.pas
66 lines (55 loc) · 1.39 KB
/
Unit8.pas
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
unit Unit8;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls;
type
TForm8 = class(TForm)
CheckBox4: TCheckBox;
GroupBox1: TGroupBox;
RS1: TRadioButton;
RS2: TRadioButton;
GroupBox2: TGroupBox;
ShowLitera: TCheckBox;
ComboBox3: TComboBox;
ComboBox4: TComboBox;
Label1: TLabel;
GroupBox3: TGroupBox;
Label2: TLabel;
ComboBox5: TComboBox;
Button1: TButton;
Button2: TButton;
GroupBox4: TGroupBox;
Label3: TLabel;
ComboBox6: TComboBox;
procedure Button2Click(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form8: TForm8;
implementation
uses MainForm;
{$R *.dfm}
procedure TForm8.Button1Click(Sender: TObject);
begin
Form1.CheckBox4.Checked := CheckBox4.Checked;
Form1.ShowLitera.Checked := ShowLitera.Checked;
Form1.RS1.Checked := RS1.Checked;
Form1.RS2.Checked := RS2.Checked;
Form1.ComboBox3.ItemIndex := ComboBox3.ItemIndex;
Form1.ComboBox4.ItemIndex := ComboBox4.ItemIndex;
Form1.ComboBox5.ItemIndex := ComboBox5.ItemIndex;
Form1.ComboBox6.ItemIndex := ComboBox6.ItemIndex;
Form1.ComboBox4.OnChange(nil);
Form1.ComboBox3.OnChange(nil);
close;
end;
procedure TForm8.Button2Click(Sender: TObject);
begin
close;
end;
end.