📄 choice.pas
字号:
unit choice;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons;
type
TChoiceForm = class(TForm)
SpeedButton1: TSpeedButton;
SpeedButton2: TSpeedButton;
BitBtn1: TBitBtn;
procedure BitBtn1Click(Sender: TObject);
procedure SpeedButton1Click(Sender: TObject);
procedure SpeedButton2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
ChoiceForm: TChoiceForm;
implementation
uses SmallU, LargeU;
{$R *.DFM}
procedure TChoiceForm.BitBtn1Click(Sender: TObject);
begin
close;
end;
procedure TChoiceForm.SpeedButton1Click(Sender: TObject);
begin
close;
pettyform:=Tpettyform.create(application);
pettyform.panel1.visible:=true;
pettyform.panel1.bringtofront;
pettyform.show;
pettyform.update;
end;
procedure TChoiceForm.SpeedButton2Click(Sender: TObject);
begin
close;
largeform:=Tlargeform.create(application);
largeform.show;
largeform.update;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -