?? uvadgtollstation.pas
字號:
unit UVADGTollStation;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UAdapterDataGridView, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, dxPSGlbl, dxPSUtl,
dxPSEngn, dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider,
dxPSFillPatterns, dxPSEdgePatterns, dxPSCore, RzCommon, cxGridLevel,
cxClasses, cxControls, cxGridCustomView, cxGridCustomTableView,
cxGridTableView, cxGridDBTableView, cxGrid, jpeg, RzBckgnd, ExtCtrls,
RzPanel, cxDBLookupComboBox,
UCloneDataModel;
type
TVADGTollStation = class(TAdapterDataGridView)
SectionOfficeId: TDataSource;
GridDBTableViewTOLLSTATIONID: TcxGridDBColumn;
GridDBTableViewCAPTION: TcxGridDBColumn;
GridDBTableViewSECTIONOFFICEID: TcxGridDBColumn;
private
SectionOfficeModel: TCloneDataModel;
protected
procedure InitModel; override;
public
function GetCaption: string; override;
end;
implementation
uses UMADTollStation, Factory, UPrimaryDataModel, UMADSectionOffice;
{$R *.dfm}
{ TVADGTollStation }
function TVADGTollStation.GetCaption: string;
begin
Result := '門診';
end;
procedure TVADGTollStation.InitModel;
begin
inherited;
SectionOfficeModel := GetCloneDataModel(TPrimaryDataModel(SectionOfficeFactory.GetModel));
SectionOfficeId.DataSet := SectionOfficeModel.GetDataSet;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -