You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.3 KiB
Plaintext
103 lines
2.3 KiB
Plaintext
11 months ago
|
unit u_code_zlset;
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
||
|
BusinessSkinForm, bsSkinCtrls, ExtCtrls, dxExEdtr, dxCntner, dxTL,
|
||
|
dxDBCtrl, dxDBGrid, DB, ADODB, StdCtrls, Mask, DBCtrls;
|
||
|
|
||
|
type
|
||
|
Tfrm_code_zlset = class(TForm)
|
||
|
Panel1: TPanel;
|
||
|
bsSkinButton2: TbsSkinButton;
|
||
|
bsSkinButton3: TbsSkinButton;
|
||
|
bsSkinButton5: TbsSkinButton;
|
||
|
bsBusinessSkinForm1: TbsBusinessSkinForm;
|
||
|
qryCustomstatu: TADOQuery;
|
||
|
dsrcustomstatu: TDataSource;
|
||
|
bsSkinGroupBox1: TbsSkinGroupBox;
|
||
|
DBEdit1: TDBEdit;
|
||
|
DBEdit2: TDBEdit;
|
||
|
Label1: TLabel;
|
||
|
Label2: TLabel;
|
||
|
Label3: TLabel;
|
||
|
Label4: TLabel;
|
||
|
DBEdit3: TDBEdit;
|
||
|
DBEdit4: TDBEdit;
|
||
|
Label5: TLabel;
|
||
|
DBEdit5: TDBEdit;
|
||
|
DBEdit6: TDBEdit;
|
||
|
Label6: TLabel;
|
||
|
DBEdit7: TDBEdit;
|
||
|
DBEdit8: TDBEdit;
|
||
|
Label7: TLabel;
|
||
|
DBEdit9: TDBEdit;
|
||
|
DBEdit10: TDBEdit;
|
||
|
Label8: TLabel;
|
||
|
DBEdit11: TDBEdit;
|
||
|
DBEdit12: TDBEdit;
|
||
|
Label9: TLabel;
|
||
|
DBEdit13: TDBEdit;
|
||
|
DBEdit14: TDBEdit;
|
||
|
Label10: TLabel;
|
||
|
DBEdit15: TDBEdit;
|
||
|
Label11: TLabel;
|
||
|
Label12: TLabel;
|
||
|
procedure FormShow(Sender: TObject);
|
||
|
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
|
||
|
procedure bsSkinButton5Click(Sender: TObject);
|
||
|
procedure bsSkinButton3Click(Sender: TObject);
|
||
|
procedure bsSkinButton2Click(Sender: TObject);
|
||
|
procedure bsSkinButton4Click(Sender: TObject);
|
||
|
private
|
||
|
{ Private declarations }
|
||
|
public
|
||
|
{ Public declarations }
|
||
|
end;
|
||
|
|
||
|
var
|
||
|
frm_code_zlset: Tfrm_code_zlset;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
uses u_data_share, my_sys_function, u_main;
|
||
|
|
||
|
{$R *.dfm}
|
||
|
|
||
|
procedure Tfrm_code_zlset.FormShow(Sender: TObject);
|
||
|
begin
|
||
|
if not qryCustomstatu.Active then
|
||
|
qryCustomstatu.Open;
|
||
|
qryCustomstatu.requery;
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_code_zlset.FormCloseQuery(Sender: TObject;
|
||
|
var CanClose: Boolean);
|
||
|
begin
|
||
|
CanClose:=frm_close_query(qryCustomstatu);
|
||
|
qryCustomstatu.Close;
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_code_zlset.bsSkinButton5Click(Sender: TObject);
|
||
|
begin
|
||
|
close;
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_code_zlset.bsSkinButton3Click(Sender: TObject);
|
||
|
begin
|
||
|
table_cancel(qryCustomstatu);
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_code_zlset.bsSkinButton2Click(Sender: TObject);
|
||
|
begin
|
||
|
table_post(qryCustomstatu);
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_code_zlset.bsSkinButton4Click(Sender: TObject);
|
||
|
begin
|
||
|
table_delete(qryCustomstatu);
|
||
|
end;
|
||
|
|
||
|
end.
|