📄 rasdial5.pas
字号:
unit RasDial5;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Formauto, StdCtrls;
type
TTimePasswordAutoForm = class(TAutoForm)
PasswordEdit: TEdit;
Label1: TLabel;
OkButton: TButton;
procedure OkButtonClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
function Execute : Integer;
end;
var
TimePasswordAutoForm: TTimePasswordAutoForm;
implementation
{$R *.DFM}
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
procedure TTimePasswordAutoForm.OkButtonClick(Sender: TObject);
begin
ModalResult := mrOK;
end;
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
function TTimePasswordAutoForm.Execute : Integer;
begin
ActiveControl := PasswordEdit;
Result := ShowModal;
end;
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
end.
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -