在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
{ unit TestUnit; interface uses const type //---------------------------------服务模块 //新开放的接口代码方法 //---------------------------------接口委托对象定义 constructor Create(AClass: TClass); //----------------------------------外部引用的业务模块 //完成具体业务的委托实例
var implementation {$R *.dfm} { TBaseTestMsg } procedure TBaseTestMsg.ShowTestMsg; { TTestMsgClass } constructor TTestMsgClass.Create(AClass: TClass); constructor TTestMsgClass.CreateEx(AClass: TClass); destructor TTestMsgClass.Destroy;
procedure TETestMsg.ShowTestMsg; { TCTestMsg } procedure TCTestMsg.ShowTestMsg; //--------------------以下为测试代码-------------------------------- procedure TForm1.DoTest(AClass: TClass; ACreateEx: Boolean); try procedure TForm1.Button1Click(Sender: TObject); procedure TForm1.Button2Click(Sender: TObject); end. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论