Files
lazarus-ccr/applications/lazstats/source_orig/randomsampunit.pas
wp_xxyyzz 819af1d403 LazStats: Adding original source, part 7.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7886 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-11-16 11:21:34 +00:00

61 lines
1.0 KiB
ObjectPascal

unit RandomSampUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
ExtCtrls, StdCtrls;
type
{ TRandomSampFrm }
TRandomSampFrm = class(TForm)
ResetBtn: TButton;
CancelBtn: TButton;
OKBtn: TButton;
CasesEdit: TEdit;
ExactEdit: TEdit;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
PcntEdit: TEdit;
GroupBox1: TGroupBox;
ApproxBtn: TRadioButton;
ExactBtn: TRadioButton;
procedure FormShow(Sender: TObject);
procedure ResetBtnClick(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
RandomSampFrm: TRandomSampFrm;
implementation
{ TRandomSampFrm }
procedure TRandomSampFrm.FormShow(Sender: TObject);
begin
PcntEdit.Text := '';
ExactEdit.Text := '';
CasesEdit.Text := '';
ApproxBtn.Checked := true;
end;
procedure TRandomSampFrm.ResetBtnClick(Sender: TObject);
begin
FormShow(self);
end;
initialization
{$I randomsampunit.lrs}
end.