📄 uoutputfile.pas
字号:
unit UOutputFile;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons;
type
TForm_OutputFile = class(TForm)
RadioGroup1:TRadioGroup;
BitBtn1:TBitBtn;
BitBtn2:TBitBtn;
Edit1:TEdit;
procedure FormShow(Sender:TObject);
procedure BitBtn2Click(Sender:TObject);
procedure BitBtn1Click(Sender:TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form_OutputFile:TForm_OutputFile;
implementation
{$R *.dfm}
procedure TForm_OutputFile.FormShow(Sender:TObject);
begin
edit1.Text := '1';
end;
procedure TForm_OutputFile.BitBtn2Click(Sender:TObject);
begin
edit1.Text := '0';
close;
end;
procedure TForm_OutputFile.BitBtn1Click(Sender:TObject);
begin
with RadioGroup1 do
begin
case ItemIndex of
0:edit1.text := '1';
1:edit1.text := '2';
2:edit1.text := '3';
end;
end;
close;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -