|
|
|
|
unit u_sys_wtno_empty;
|
|
|
|
|
|
|
|
|
|
interface
|
|
|
|
|
|
|
|
|
|
uses
|
|
|
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
|
|
|
Dialogs, dxExEdtr, BusinessSkinForm, dxDBTLCl, dxGrClms, dxDBGrid, dxTL,
|
|
|
|
|
dxDBCtrl, dxCntner, bsSkinCtrls, ExtCtrls, DB, ADODB;
|
|
|
|
|
|
|
|
|
|
type
|
|
|
|
|
Tfrm_sys_wtno_empty = class(TForm)
|
|
|
|
|
dxDBGrid1: TdxDBGrid;
|
|
|
|
|
bsBusinessSkinForm1: TbsBusinessSkinForm;
|
|
|
|
|
dxDBGrid1Column1: TdxDBGridMaskColumn;
|
|
|
|
|
Panel1: TPanel;
|
|
|
|
|
bsSkinButton5: TbsSkinButton;
|
|
|
|
|
t_sys_wtno_empty1: TDataSource;
|
|
|
|
|
t_sys_wtno_empty: TADOQuery;
|
|
|
|
|
dxDBGrid1Column2: TdxDBGridColumn;
|
|
|
|
|
bsSkinButton1: TbsSkinButton;
|
|
|
|
|
procedure bsSkinButton5Click(Sender: TObject);
|
|
|
|
|
procedure bsSkinButton3Click(Sender: TObject);
|
|
|
|
|
procedure FormShow(Sender: TObject);
|
|
|
|
|
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
|
|
|
|
|
private
|
|
|
|
|
{ Private declarations }
|
|
|
|
|
public
|
|
|
|
|
{ Public declarations }
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
var
|
|
|
|
|
frm_sys_wtno_empty: Tfrm_sys_wtno_empty;
|
|
|
|
|
|
|
|
|
|
implementation
|
|
|
|
|
|
|
|
|
|
uses u_data_share, my_sys_function, u_main;
|
|
|
|
|
|
|
|
|
|
{$R *.dfm}
|
|
|
|
|
|
|
|
|
|
procedure Tfrm_sys_wtno_empty.bsSkinButton5Click(Sender: TObject);
|
|
|
|
|
begin
|
|
|
|
|
close;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure Tfrm_sys_wtno_empty.bsSkinButton3Click(Sender: TObject);
|
|
|
|
|
begin
|
|
|
|
|
t_sys_wtno_empty.Edit;
|
|
|
|
|
t_sys_wtno_empty['<27>Ƿ<EFBFBD>ʹ<EFBFBD><CAB9>']:=1;
|
|
|
|
|
t_sys_wtno_empty.post;
|
|
|
|
|
t_sys_wtno_empty.Requery;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure Tfrm_sys_wtno_empty.FormShow(Sender: TObject);
|
|
|
|
|
begin
|
|
|
|
|
t_sys_wtno_empty.open;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
procedure Tfrm_sys_wtno_empty.FormCloseQuery(Sender: TObject;
|
|
|
|
|
var CanClose: Boolean);
|
|
|
|
|
begin
|
|
|
|
|
CanClose:=frm_close_query(t_sys_wtno_empty);
|
|
|
|
|
t_sys_wtno_empty.Close;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
end.
|