unit16.~pas
来自「用户可选择不同权限进入系统。当以管理员权限进入系统时」· ~PAS 代码 · 共 44 行
~PAS
44 行
unit Unit16;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TForm16 = class(TForm)
RadioGroup1: TRadioGroup;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form16: TForm16;
implementation
uses Unit17, Unit14, Unit12;
{$R *.dfm}
procedure TForm16.Button1Click(Sender: TObject);
begin
if radiogroup1.ItemIndex=0 then
begin
form17.show;
form16.Hide;
end
else if radiogroup1.ItemIndex=1 then
begin
form12.show;
form16.Hide;
end
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?