📄 mainunit.~pas
字号:
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
GroupBox1: TGroupBox;
RadioButton1: TRadioButton;
RadioButton2: TRadioButton;
RadioButton3: TRadioButton;
RadioButton4: TRadioButton;
RadioButton5: TRadioButton;
RadioButton6: TRadioButton;
procedure SpeedButton1Click(Sender: TObject);
procedure RadioButton6Click(Sender: TObject);
procedure RadioButton1Click(Sender: TObject);
procedure RadioButton2Click(Sender: TObject);
procedure RadioButton4Click(Sender: TObject);
procedure RadioButton3Click(Sender: TObject);
procedure RadioButton5Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
uses XYKCUnit, BJKCUnit, TYCXUnit, TYBJUnit, PrintUnit;
{$R *.dfm}
procedure TForm1.SpeedButton1Click(Sender: TObject);
begin
Close;
end;
procedure TForm1.RadioButton6Click(Sender: TObject);
begin
Close;
end;
procedure TForm1.RadioButton1Click(Sender: TObject);
begin
Form2.show;
end;
procedure TForm1.RadioButton2Click(Sender: TObject);
begin
Form3.show;
end;
procedure TForm1.RadioButton4Click(Sender: TObject);
begin
Form4.show;
end;
procedure TForm1.RadioButton3Click(Sender: TObject);
begin
Form5.show;
end;
procedure TForm1.RadioButton5Click(Sender: TObject);
begin
Form6.Show;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -