unit14.pas

来自「用户可选择不同权限进入系统。当以管理员权限进入系统时」· PAS 代码 · 共 47 行

PAS
47
字号
unit Unit14;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls;

type
  TForm14 = class(TForm)
    RadioGroup1: TRadioGroup;
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
    
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form14: TForm14;

implementation

uses Unit15, Unit13;

{$R *.dfm}



procedure TForm14.Button1Click(Sender: TObject);
begin
if radiogroup1.ItemIndex=0 then
begin
form15.show;
form14.Hide;
end
else if radiogroup1.ItemIndex=1 then
begin
form13.show;
form14.Hide;
end
end;

end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?