iwunit2.pas

来自「Delphi面向对象编程思想附书源码 好用哦!」· PAS 代码 · 共 35 行

PAS
35
字号
unit IWUnit2;
{PUBDIST}

interface

uses
  IWAppForm, IWApplication, IWTypes, IWHTMLControls, IWCompLabel, jpeg,
  Classes, Controls, IWControl, IWExtCtrls, IWCompListbox;

type
  TFormWelcome = class(TIWAppForm)
    IWImage1: TIWImage;
    IWLabel1: TIWLabel;
    IWURL1: TIWURL;
    IWListbox1: TIWListbox;
    procedure IWAppFormCreate(Sender: TObject);
  public
  end;

implementation
{$R *.dfm}

uses
  ServerController;

procedure TFormWelcome.IWAppFormCreate(Sender: TObject);
begin
  if UserSession.FMan=nil then exit;
  IWListbox1.Items.Add(UserSession.FMan.Name);
  IWListbox1.Items.Add(UserSession.FMan.Dep);
  IWListbox1.Items.Add(UserSession.FMan.Job);
end;

end.

⌨️ 快捷键说明

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