⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 app.test.employeegridview.pas

📁 轉載的程序應用框架
💻 PAS
字号:
unit App.Test.EmployeeGridView;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  S2.View.TS2AdapterDataGridView, cxStyles, cxCustomData,
  cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData,
  cxGridLevel, cxClasses, cxControls, cxGridCustomView,
  cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxGrid,
  S2.Model.TS2ClientDataModel, StdCtrls;

type
  TEmployeeGridView = class(TS2AdapterDataGridView)
    _Grid1DBTableView1test_id: TcxGridDBColumn;
    _Grid1DBTableView1caption: TcxGridDBColumn;
  protected
    procedure InitView; override;
  private
    EmployeeModel: TS2ClientDataModel;
  public
    function GetCaption: string; override;
  end;

implementation

uses
  S2.Model.TS2Model, S2.Model.TS2DataModel, 
  App.Test.EmployeeModel, S2.Model.TS2ServerDataModelFactory, S2.Model.IS2ModelFactory, S2.Core.IS2SystemObject;

{$R *.dfm}

{ TEmployeeGridView }

function TEmployeeGridView.GetCaption: string;
begin
  Result := 'Employee';
end;

procedure TEmployeeGridView.InitView;
begin
  RegisterMasterDataModel(TEmployeeModel);
end;

end.
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -