Õ¾ÄÚËÑË÷:     
Õ¾µãÊ×Ò³ ¡ú ÆÆ¸ªÑ§Ôº ¡ú ±à³Ì¿ª·¢ ¡ú Delphi ¡ú „“½¨Ò»‚€º††ÎµÄ"Œ£¼Ò"
ÕýÔÚ¼ÓÔØÏà¹ØÐÅÏ¢.....
Web Õ¾ÄÚËÑË÷
„“½¨Ò»‚€º††ÎµÄ"Œ£¼Ò"
¡¾´ó ÖРС¡¿¡¾´òÓ¡¡¿¡¾¼ÓÈëÊղء¿¡¾¹Ø±Õ¡¿ ¡¾Êղص½ÐÂÀËViVi¡¿¡¾Êղص½365KEY¡¿ ä¯ÀÀ×ÖºÅ:
ÈÕÆÚ£º2005-10-08 ÈËÆø£º ³ö´¦£ºszhourj µÄ Blog ×÷Õß: szhourj

ß@‚€†ÎÔª¿ÉÒÔ¾Ž×gµ½Ò»‚€°üÖУ¬Ö®ááËü¿ÉÒÔ³ö¬FÔÚDelphiµÄŽÍÖú²Ë†ÎÖС£

×¢£ºÔÚInterfaceµÄuses ÕZ¾äÖмÓÈëToolsApi.

type
  
TSDCSimpleExpert = class(TNotifierObject, IOTAMenuWizard, IOTAWizard)
  public
    function 
GetIDString: string;
    function GetName: string;
    function GetState: TWizardState;
    procedure Execute;
    function GetMenuText: string;
  end;

procedure Register;

implementation

uses 
Dialogs;

procedure Register;
begin
  
RegisterPackageWizard(TSDCSimpleExpert.Create);×¢ƒÔ"Œ£¼Ò}
end;

{ TSDCSimpleExpert }"}

procedure TSDCSimpleExpert.Execute;
begin
  
{®”†Î“ô²Ë†Îí—•r£¬ˆÌÐÐß@¶Î´ú´a}
  
ShowMessage('Hello SwissDelphiCenter Simple Expert.');
end;

function TSDCSimpleExpert.GetIDString: string;
begin
  
{Ψһ"Œ£¼Ò"˜Ë×R·û}
  
Result := 'SwissDelphiCenter.SimpleExpert';
end;

function TSDCSimpleExpert.GetMenuText: string;
begin
  
{²Ë†Î헵ĘËî}}
  
Result := 'SwissDelphiCenter Simple Expert';
end;

function TSDCSimpleExpert.GetName: string;
begin
  
{¡°Œ£¼Ò¡±µÄÃû×Ö}
  
Result := 'SwissDelphiCenter Simple Expert';
end;

function TSDCSimpleExpert.GetState: TWizardState;
begin
  
Result := [wsEnabled];
end;



>>>> ½øÈëÂÛ̳½»Á÷ <<<<

Ïà¹ØÎÄÕ£º
ÔÝʱûÓÐÏà¹ØÎÄÕÂ