📄 unit2.~pas
字号:
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm2 = class(TForm)
GroupBox1: TGroupBox;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Button1: TButton;
Button2: TButton;
GroupBox2: TGroupBox;
Label4: TLabel;
Label5: TLabel;
Edit4: TEdit;
Edit5: TEdit;
GroupBox3: TGroupBox;
Label6: TLabel;
Label7: TLabel;
Edit6: TEdit;
Edit7: TEdit;
GroupBox4: TGroupBox;
Label8: TLabel;
Label9: TLabel;
name2x: TEdit;
name2y: TEdit;
GroupBox5: TGroupBox;
Label10: TLabel;
Label11: TLabel;
securitynox: TEdit;
securitynoy: TEdit;
GroupBox6: TGroupBox;
Label12: TLabel;
Label13: TLabel;
securitytypex: TEdit;
securitytypey: TEdit;
GroupBox7: TGroupBox;
Label14: TLabel;
Label15: TLabel;
moneydatex: TEdit;
moneydatey: TEdit;
GroupBox8: TGroupBox;
Label16: TLabel;
Label17: TLabel;
moneystylex: TEdit;
moneystyley: TEdit;
GroupBox9: TGroupBox;
Label18: TLabel;
Label19: TLabel;
moneyvaluex: TEdit;
moneyvaluey: TEdit;
GroupBox10: TGroupBox;
Label20: TLabel;
Label21: TLabel;
securitycontractnox: TEdit;
securitycontractnoy: TEdit;
GroupBox11: TGroupBox;
Label22: TLabel;
Label23: TLabel;
printdatex: TEdit;
printdatey: TEdit;
procedure Button2Click(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form2: TForm2;
implementation
uses unit1;
{$R *.dfm}
procedure TForm2.Button2Click(Sender: TObject);
begin
form2.Hide;
end;
procedure TForm2.Button1Click(Sender: TObject);
begin
startx_post:=strtoint(edit1.Text );
starty_post:=strtoint(edit2.Text );
offsets_post:= strtoint(edit3.Text);
startx_addr:=strtoint(edit4.Text );
starty_addr:=strtoint(edit5.Text );
startx_name:=strtoint(edit6.Text );
starty_name:=strtoint(edit7.Text );
startx_name2:=strtoint(name2x.Text );
starty_name2:=strtoint(name2y.Text );
x_securityno:=strtoint(securitynox.Text );
y_securityno:=strtoint(securitynoy.Text );
x_securitytype:=strtoint(securitytypex.Text );
y_securitytype:=strtoint(securitytypey.Text );
x_securitycontractno:=strtoint(securitycontractnox.Text );
y_securitycontractno:=strtoint(securitycontractnoy.Text );
x_moneydate:=strtoint(moneydatex.Text );
y_moneydate:=strtoint(moneydatey.Text );
x_moneystyle:=strtoint(moneystylex.Text);
y_moneystyle:=strtoint(moneystyley.Text);
x_moneyvalue:=strtoint(moneyvaluex.Text);
y_moneyvalue:=strtoint(moneyvaluey.Text );
x_printdate:=strtoint(printdatex.Text );
y_printdate:=strtoint(printdatey.Text);
form2.Hide;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -