www.pudn.com > 实景(图形)聊天室源代码(绝对高水 准,超酷).zip > Unit1.pas


unit Unit1; 
 
interface 
 
uses 
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 
  AHMSystemClass, AHMTAppManager, StdCtrls; 
 
type 
  TForm1 = class(TForm) 
    ListBox1: TListBox; 
    Button1: TButton; 
    Label1: TLabel; 
    AHMAppManager1: TAHMAppManager; 
    Label2: TLabel; 
    Label3: TLabel; 
    Label4: TLabel; 
    Label5: TLabel; 
    Label6: TLabel; 
    Label7: TLabel; 
    Label8: TLabel; 
    Label9: TLabel; 
    procedure Button1Click(Sender: TObject); 
    procedure AHMAppManager1FileOpen(Sender: TObject; FileName: String); 
  private 
    { Private declarations } 
  public 
    { Public declarations } 
  end; 
 
var 
  Form1: TForm1; 
 
implementation 
 
{$R *.DFM} 
 
procedure TForm1.Button1Click(Sender: TObject); 
begin 
  AHMAppManager1.ShowAssociations; 
end; 
 
procedure TForm1.AHMAppManager1FileOpen(Sender: TObject; FileName: String); 
begin 
  Listbox1.Items.Add(FileName); 
end; 
 
end.