You've already forked lazarus-ccr
54 lines
912 B
Plaintext
54 lines
912 B
Plaintext
![]() |
unit DifferenceUnit;
|
||
|
|
||
|
{$mode objfpc}{$H+}
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
|
||
|
StdCtrls, contexthelpunit;
|
||
|
|
||
|
type
|
||
|
|
||
|
{ TDifferenceFrm }
|
||
|
|
||
|
TDifferenceFrm = class(TForm)
|
||
|
CancelBtn: TButton;
|
||
|
HelpBtn: TButton;
|
||
|
OKBtn: TButton;
|
||
|
LagEdit: TEdit;
|
||
|
OrderEdit: TEdit;
|
||
|
Label1: TLabel;
|
||
|
Label2: TLabel;
|
||
|
procedure FormShow(Sender: TObject);
|
||
|
procedure HelpBtnClick(Sender: TObject);
|
||
|
private
|
||
|
{ private declarations }
|
||
|
public
|
||
|
{ public declarations }
|
||
|
end;
|
||
|
|
||
|
var
|
||
|
DifferenceFrm: TDifferenceFrm;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
{ TDifferenceFrm }
|
||
|
|
||
|
procedure TDifferenceFrm.FormShow(Sender: TObject);
|
||
|
begin
|
||
|
LagEdit.Text := '1';
|
||
|
OrderEdit.Text := '1';
|
||
|
end;
|
||
|
|
||
|
procedure TDifferenceFrm.HelpBtnClick(Sender: TObject);
|
||
|
begin
|
||
|
ContextHelpForm.HelpMessage((Sender as TButton).tag);
|
||
|
end;
|
||
|
|
||
|
initialization
|
||
|
{$I differenceunit.lrs}
|
||
|
|
||
|
end.
|
||
|
|