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.
80 lines
1.9 KiB
Plaintext
80 lines
1.9 KiB
Plaintext
12 months ago
|
unit u_sys_bank;
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
||
|
Dialogs, dxExEdtr, bsSkinCtrls, dxTL, dxDBCtrl, dxDBGrid, dxCntner,
|
||
|
BusinessSkinForm, Grids, Wwdbigrd, Wwdbgrid, StdCtrls, wwdblook, ExtCtrls;
|
||
|
|
||
|
type
|
||
|
Tfrm_sys_bank = class(TForm)
|
||
|
bsBusinessSkinForm1: TbsBusinessSkinForm;
|
||
|
wwDBLookupCombo1: TwwDBLookupCombo;
|
||
|
wwDBGrid1: TwwDBGrid;
|
||
|
Panel1: TPanel;
|
||
|
bsSkinButton1: TbsSkinButton;
|
||
|
bsSkinButton2: TbsSkinButton;
|
||
|
bsSkinButton4: TbsSkinButton;
|
||
|
bsSkinButton3: TbsSkinButton;
|
||
|
bsSkinButton5: TbsSkinButton;
|
||
|
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);
|
||
|
private
|
||
|
{ Private declarations }
|
||
|
public
|
||
|
{ Public declarations }
|
||
|
end;
|
||
|
|
||
|
var
|
||
|
frm_sys_bank: Tfrm_sys_bank;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
uses u_data_share, my_sys_function;
|
||
|
|
||
|
{$R *.dfm}
|
||
|
|
||
|
procedure Tfrm_sys_bank.bsSkinButton1Click(Sender: TObject);
|
||
|
begin
|
||
|
frm_data_share.t_sys_bank.Insert;
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_sys_bank.bsSkinButton4Click(Sender: TObject);
|
||
|
begin
|
||
|
table_delete(frm_data_share.t_sys_bank);
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_sys_bank.bsSkinButton2Click(Sender: TObject);
|
||
|
begin
|
||
|
table_post(frm_data_share.t_sys_bank);
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_sys_bank.bsSkinButton3Click(Sender: TObject);
|
||
|
begin
|
||
|
table_cancel(frm_data_share.t_sys_bank);
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_sys_bank.bsSkinButton5Click(Sender: TObject);
|
||
|
begin
|
||
|
close;
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_sys_bank.FormShow(Sender: TObject);
|
||
|
begin
|
||
|
frm_data_share.t_sys_bank.requery;
|
||
|
end;
|
||
|
|
||
|
procedure Tfrm_sys_bank.FormCloseQuery(Sender: TObject;
|
||
|
var CanClose: Boolean);
|
||
|
begin
|
||
|
CanClose:=frm_close_query(frm_data_share.t_sys_bank);
|
||
|
end;
|
||
|
|
||
|
end.
|