📄 wizardpackagewizard.dfm
字号:
''
'uses'
' Classes, SysUtils, Windows,'
' ToolsAPI;'
''
'type'
' %%WizardClassName%% = class(TInterfacedObject, IOTANotifier, I' +
'OTAWizard, IOTARepositoryWizard, IOTARepositoryWizard60,'
' IOTAFormWizard)'
' protected'
' { IOTANotifier }'
' procedure AfterSave;'
' procedure BeforeSave;'
' procedure Destroyed;'
' procedure Modified;'
''
' { IOTAWizard }'
' function GetIDString: string;'
' function GetName: string;'
' function GetState: TWizardState;'
' procedure Execute;'
''
' { IOTARepositoryWizard }'
' function GetAuthor: string;'
' function GetComment: string;'
' function GetPage: string;'
' function GetGlyph: Cardinal;'
''
' { IOTARepositoryWizard60 }'
' function GetDesigner: string;'
' end;'
''
'implementation'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'{ %%WizardClassName%% protected: IOTANotifier }'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.AfterSave;'
''
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.BeforeSave;'
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.Destroyed;'
''
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.Modified;'
''
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'{ %%WizardClassName%% protected: IOTAWizard }'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetIDString: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetName: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetState: TWizardState;'
''
'begin'
' Result := [wsEnabled];'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.Execute;'
''
'begin'
' // your code here'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'{ %%WizardClassName%% protected: IOTARepositoryWizard }'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetAuthor: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetComment: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetGlyph: Cardinal;'
''
'begin'
' Result := 0;'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetPage: string;'
''
'begin'
' Result := '#39'Forms'#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'{ %%WizardClassName%% protected: IOTARepositoryWizard60 }'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetDesigner: string;'
''
'begin'
' Result := dAny;'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'end.')
OnGetSource = ModuleCreatorGetSource
Left = 168
Top = 136
end
object ModuleCreatorProject: TModuleCreator
CreatorType = ctUnit
OnGetOwner = ModuleCreatorGetOwner
SourceImpl.Strings = (
'unit %0:s;'
''
'interface'
''
'uses'
' Classes, SysUtils, Windows,'
' ToolsAPI;'
''
'type'
' %%WizardClassName%% = class(TInterfacedObject, IOTANotifier, I' +
'OTAWizard, IOTARepositoryWizard, IOTARepositoryWizard60,'
' IOTAProjectWizard)'
' protected'
' { IOTANotifier }'
' procedure AfterSave;'
' procedure BeforeSave;'
' procedure Destroyed;'
' procedure Modified;'
''
' { IOTAWizard }'
' function GetIDString: string;'
' function GetName: string;'
' function GetState: TWizardState;'
' procedure Execute;'
''
' { IOTARepositoryWizard }'
' function GetAuthor: string;'
' function GetComment: string;'
' function GetPage: string;'
' function GetGlyph: Cardinal;'
''
' { IOTARepositoryWizard60 }'
' function GetDesigner: string;'
' end;'
''
'implementation'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'{ %%WizardClassName%% protected: IOTANotifier }'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.AfterSave;'
''
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.BeforeSave;'
''
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.Destroyed;'
''
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.Modified;'
''
'begin'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'{ %%WizardClassName%% protected: IOTAWizard }'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetIDString: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetName: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetState: TWizardState;'
''
'begin'
' Result := [wsEnabled];'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'procedure %%WizardClassName%%.Execute;'
''
'begin'
' // your code here'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'{ %%WizardClassName%% protected: IOTARepositoryWizard }'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetAuthor: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetComment: string;'
''
'begin'
' Result := '#39#39';'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetGlyph: Cardinal;'
''
'begin'
' Result := 0;'
'end;'
''
'//--------------------------------------------------------------' +
'--------------------------------------------------------'
''
'function %%WizardClassName%%.GetPage: string;'
''
'begin'
' Result := '#39'Forms'#39';'
'end;'
''
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -