unit recuperar;

interface

uses
  Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
  Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,principal;

type
  Tcrecuperar = class(TForm)
    Panel1: TPanel;
    Label1: TLabel;
    BTSI: TButton;
    BTNO: TButton;
    procedure BTSIClick(Sender: TObject);
    procedure BTNOClick(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  crecuperar: Tcrecuperar;

implementation

{$R *.dfm}

procedure Tcrecuperar.BTNOClick(Sender: TObject);
begin
    principal.recuperar:=0;
    crecuperar.Close;
end;

procedure Tcrecuperar.BTSIClick(Sender: TObject);
begin
    principal.recuperar:=1;
    crecuperar.Close;
end;

end.
