jobs.pas
资源名称:delphi.rar [点击查看]
上传用户:fh681027
上传日期:2022-07-23
资源大小:1959k
文件大小:1k
源码类别:
Delphi控件源码
开发平台:
Delphi
- unit jobs;
- interface
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- StdCtrls, Grids, DBGrids;
- type
- TfrmJobs = class(TForm)
- DBGrid1: TDBGrid;
- Label1: TLabel;
- btnAccept: TButton;
- btnCancel: TButton;
- procedure FormCreate(Sender: TObject);
- procedure FormDestroy(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- frmJobs: TfrmJobs;
- implementation
- uses data;
- {$R *.DFM}
- procedure TfrmJobs.FormCreate(Sender: TObject);
- begin
- try
- dmData.qryJob.Open;
- except
- Close;
- end;
- end;
- procedure TfrmJobs.FormDestroy(Sender: TObject);
- begin
- dmData.qryJob.Close;
- end;
- end.