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