2007-09-12 14:11:44 +00:00
|
|
|
unit uFormasPagoPlazosController;
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
|
|
uses
|
|
|
|
|
Windows, Forms, Classes, Controls, Contnrs, SysUtils, uDADataTable,
|
2008-11-10 19:38:27 +00:00
|
|
|
uBizFormasPago, uBizFormasPagoPlazos, uIDataModuleFormasPago,
|
|
|
|
|
uControllerBase;
|
2007-09-12 14:11:44 +00:00
|
|
|
type
|
2008-11-10 19:38:27 +00:00
|
|
|
IFormasPagoPlazosController = interface(IControllerBase)
|
2007-09-12 14:11:44 +00:00
|
|
|
['{3FCE2A31-9783-45F9-96D6-1157165AB8DB}']
|
|
|
|
|
end;
|
|
|
|
|
|
2008-11-10 19:38:27 +00:00
|
|
|
TFormasPagoPlazosController = class(TControllerBase, IFormasPagoPlazosController)
|
2007-09-12 14:11:44 +00:00
|
|
|
private
|
|
|
|
|
FDataModule : IDataModuleFormasPago;
|
|
|
|
|
public
|
2008-11-10 19:38:27 +00:00
|
|
|
constructor Create; override;
|
2007-09-12 14:11:44 +00:00
|
|
|
destructor Destroy; override;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
|
|
{ TFormasPagoPlazosController }
|
|
|
|
|
|
|
|
|
|
uses
|
2007-10-24 18:54:18 +00:00
|
|
|
uEditorRegistryUtils, uDataModuleFormasPago,
|
2007-09-12 14:11:44 +00:00
|
|
|
cxControls, schFormasPagoClient_Intf;
|
|
|
|
|
|
|
|
|
|
constructor TFormasPagoPlazosController.Create;
|
|
|
|
|
begin
|
|
|
|
|
inherited;
|
|
|
|
|
FDataModule := TDataModuleFormasPago.Create(Nil);
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
destructor TFormasPagoPlazosController.Destroy;
|
|
|
|
|
begin
|
|
|
|
|
FDataModule := Nil;
|
|
|
|
|
inherited;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
end.
|