unit u_code_currency; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, bsSkinCtrls, BusinessSkinForm, dxExEdtr, dxCntner, dxTL, dxDBCtrl, dxDBGrid, dxDBTLCl, dxGrClms, ExtCtrls; type Tfrm_code_currency = class(TForm) bsBusinessSkinForm1: TbsBusinessSkinForm; dxDBGrid1: TdxDBGrid; dxDBGrid1Column1: TdxDBGridMaskColumn; dxDBGrid1Column2: TdxDBGridMaskColumn; dxDBGrid1Column3: TdxDBGridColumn; Panel1: TPanel; bsSkinButton1: TbsSkinButton; bsSkinButton2: TbsSkinButton; bsSkinButton4: TbsSkinButton; bsSkinButton3: TbsSkinButton; bsSkinButton5: TbsSkinButton; dxDBGrid1Column4: TdxDBGridColumn; dxDBGrid1Column5: TdxDBGridColumn; procedure bsSkinButton1Click(Sender: TObject); procedure bsSkinButton4Click(Sender: TObject); procedure bsSkinButton2Click(Sender: TObject); procedure bsSkinButton3Click(Sender: TObject); procedure bsSkinButton5Click(Sender: TObject); procedure FormShow(Sender: TObject); procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean); procedure FormClose(Sender: TObject; var Action: TCloseAction); private { Private declarations } public { Public declarations } end; var frm_code_currency: Tfrm_code_currency; implementation uses u_data_share, my_sys_function, my_sys_chat; {$R *.dfm} procedure Tfrm_code_currency.bsSkinButton1Click(Sender: TObject); begin frm_data_share.t_code_currency.Insert; end; procedure Tfrm_code_currency.bsSkinButton4Click(Sender: TObject); begin table_delete(frm_data_share.t_code_currency); end; procedure Tfrm_code_currency.bsSkinButton2Click(Sender: TObject); begin table_post(frm_data_share.t_code_currency); end; procedure Tfrm_code_currency.bsSkinButton3Click(Sender: TObject); begin table_cancel(frm_data_share.t_code_currency); end; procedure Tfrm_code_currency.bsSkinButton5Click(Sender: TObject); begin close; end; procedure Tfrm_code_currency.FormShow(Sender: TObject); begin frm_data_share.t_code_currency.requery; end; procedure Tfrm_code_currency.FormCloseQuery(Sender: TObject; var CanClose: Boolean); begin CanClose:=frm_close_query(frm_data_share.t_code_currency); end; procedure Tfrm_code_currency.FormClose(Sender: TObject; var Action: TCloseAction); begin SendMsg_gonggao('57',''); end; end.