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.

65 lines
1.3 KiB
Plaintext

unit u_messageset;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, bsSkinCtrls, StdCtrls, Mask,DB,DBCtrls;
type
Tfrmmessageparam = class(TForm)
bsSkinPanel1: TbsSkinPanel;
bsSkinButton4: TbsSkinButton;
bsSkinButton5: TbsSkinButton;
lbl7: TLabel;
lbl1: TLabel;
lbl2: TLabel;
lbl3: TLabel;
lbl4: TLabel;
DBEdit1: TDBEdit;
DBEdit2: TDBEdit;
DBEdit3: TDBEdit;
DBEdit4: TDBEdit;
DBEdit5: TDBEdit;
Label1: TLabel;
DBEdit6: TDBEdit;
Label2: TLabel;
DBEdit7: TDBEdit;
Label3: TLabel;
DBEdit8: TDBEdit;
Label4: TLabel;
DBEdit9: TDBEdit;
procedure bsSkinButton4Click(Sender: TObject);
procedure bsSkinButton5Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmmessageparam: Tfrmmessageparam;
implementation
uses u_main, u_data_share;
{$R *.dfm}
procedure Tfrmmessageparam.bsSkinButton4Click(Sender: TObject);
begin
if frm_data_share.t_sys_company.State in [dsedit,dsinsert] then
frm_data_share.t_sys_company.Post;
Close;
end;
procedure Tfrmmessageparam.bsSkinButton5Click(Sender: TObject);
begin
if frm_data_share.t_sys_company.State in [dsedit,dsinsert] then
frm_data_share.t_sys_company.Cancel;
Close;
end;
end.