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.

95 lines
2.4 KiB
Plaintext

unit u_code_dgunno;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dxExEdtr, BusinessSkinForm, dxTL, dxDBCtrl, dxDBGrid, dxCntner,
bsSkinCtrls, ExtCtrls;
type
Tfrm_code_dgunno = class(TForm)
dxDBGrid1: TdxDBGrid;
bsBusinessSkinForm1: TbsBusinessSkinForm;
dxDBGrid1Column1: TdxDBGridMaskColumn;
dxDBGrid1Column2: TdxDBGridMaskColumn;
Panel1: TPanel;
bsSkinButton1: TbsSkinButton;
bsSkinButton2: TbsSkinButton;
bsSkinButton4: TbsSkinButton;
bsSkinButton3: TbsSkinButton;
bsSkinButton5: TbsSkinButton;
dxDBGrid1Column3: TdxDBGridColumn;
dxdbgrdclmnDBGrid1Column4: TdxDBGridColumn;
dxDBGrid1Column5: TdxDBGridColumn;
dxDBGrid1Column6: TdxDBGridColumn;
dxDBGrid1Column7: TdxDBGridColumn;
dxDBGrid1Column8: TdxDBGridColumn;
dxDBGrid1Column9: TdxDBGridColumn;
dxDBGrid1Column10: TdxDBGridColumn;
dxDBGrid1Column11: TdxDBGridColumn;
dxDBGrid1Column12: TdxDBGridColumn;
dxDBGrid1Column13: TdxDBGridColumn;
dxDBGrid1Column14: TdxDBGridColumn;
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
procedure FormShow(Sender: TObject);
procedure bsSkinButton1Click(Sender: TObject);
procedure bsSkinButton2Click(Sender: TObject);
procedure bsSkinButton4Click(Sender: TObject);
procedure bsSkinButton3Click(Sender: TObject);
procedure bsSkinButton5Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frm_code_dgunno: Tfrm_code_dgunno;
implementation
uses my_sys_function, u_data_share;
{$R *.dfm}
procedure Tfrm_code_dgunno.FormCloseQuery(Sender: TObject;
var CanClose: Boolean);
begin
CanClose:=frm_close_query(frm_data_share.t_code_dgunno);
end;
procedure Tfrm_code_dgunno.FormShow(Sender: TObject);
begin
frm_data_share.t_code_dgunno.requery;
end;
procedure Tfrm_code_dgunno.bsSkinButton1Click(Sender: TObject);
begin
frm_data_share.t_code_dgunno.Insert;
end;
procedure Tfrm_code_dgunno.bsSkinButton2Click(Sender: TObject);
begin
table_post(frm_data_share.t_code_dgunno);
end;
procedure Tfrm_code_dgunno.bsSkinButton4Click(Sender: TObject);
begin
table_delete(frm_data_share.t_code_dgunno);
end;
procedure Tfrm_code_dgunno.bsSkinButton3Click(Sender: TObject);
begin
table_cancel(frm_data_share.t_code_dgunno);
end;
procedure Tfrm_code_dgunno.bsSkinButton5Click(Sender: TObject);
begin
close;
end;
end.