📄 welcome.~pas
字号:
unit Welcome;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, jpeg;
type
TForm1 = class(TForm)
Timer1: TTimer;
ProgressBar1: TProgressBar;
Image1: TImage;
procedure Timer1Timer(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
uses Access;
{$R *.dfm}
procedure TForm1.Timer1Timer(Sender: TObject);
begin
if Progressbar1.Position<100 then
begin
progressbar1.Position:=progressbar1.Position+1;
screen.Cursor:=crhourglass; //鼠标显示忙状态
end
else
begin
timer1.Enabled:=false;
screen.Cursor:=Crdefault; //鼠标显示正常
form1.Hide; //隐藏欢迎界面
form2.Show;
end;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -