unit FComplete;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  StdCtrls, Setup;

type
  TFisherCompleteForm = class(TForm)
    GBResults: TGroupBox;
    Label1: TLabel;
    EDad: TEdit;
    Label2: TLabel;
    EFS_R: TEdit;
    Label3: TLabel;
    EFS_T: TEdit;
    Label4: TLabel;
    EResult: TEdit;
    CBShowAlways: TCheckBox;
    CBActivateReport: TCheckBox;
    OkButton: TButton;
    procedure FormShow(Sender: TObject);
    procedure FormHide(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FisherCompleteForm: TFisherCompleteForm;

implementation

uses MainUnit, Plan;

{$R *.DFM}

procedure TFisherCompleteForm.FormShow(Sender: TObject);
begin
  CBShowAlways.Checked:=AppSetup.GeneralFlags.FisherResultsShow;
  CBActivateReport.Checked:=AppSetup.GeneralFlags.FisherActivateReport;
end;

procedure TFisherCompleteForm.FormHide(Sender: TObject);
begin
  AppSetup.GeneralFlags.FisherResultsShow:=CBShowAlways.Checked;
  AppSetup.GeneralFlags.FisherActivateReport:=CBActivateReport.Checked;
end;

end.
