www.pudn.com > Source.rar > Unit20.pas, change:2007-02-04,size:818b


unit Unit20; 
 
interface 
 
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, 
  Buttons, ExtCtrls, Mask, DBCtrls; 
 
type 
  Tsai_Loalisation = class(TForm) 
    Bevel1: TBevel; 
    Label1: TLabel; 
    DBEdit1: TDBEdit; 
    Label2: TLabel; 
    DBEdit2: TDBEdit; 
    Ok: TBitBtn; 
    Annuler: TBitBtn; 
    procedure OkClick(Sender: TObject); 
    procedure AnnulerClick(Sender: TObject); 
  private 
    { Private declarations } 
  public 
    { Public declarations } 
  end; 
 
var 
  sai_Loalisation: Tsai_Loalisation; 
 
implementation 
 
uses Unit3; 
 
{$R *.dfm} 
 
procedure Tsai_Loalisation.OkClick(Sender: TObject); 
begin 
data.Localisations.Post; 
close; 
end; 
 
procedure Tsai_Loalisation.AnnulerClick(Sender: TObject); 
begin 
data.Localisations.Cancel; 
close; 
end; 
 
end.