41 lines
573 B
ObjectPascal

unit umain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, BCImageButton;
type
{ TForm1 }
TForm1 = class(TForm)
BCImageButton1: TBCImageButton;
BCImageButton2: TBCImageButton;
procedure FormCreate(Sender: TObject);
private
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.FormCreate(Sender: TObject);
begin
BCImageButton1.LoadFromBitmapResource(BCImageButton1.BitmapFile);
BCImageButton2.LoadFromBitmapResource(BCImageButton2.BitmapFile);
end;
end.