Programmas kods
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls;
type
TForm1 = class(TForm)
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Edit4: TEdit;
ButtonDraw: TButton;
StringGrid1: TStringGrid;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
procedure FormCreate(Sender: TObject);
procedure WriteTable(k,Pk,Xk,Yk: integer);
procedure DrawEllipse(Xc,Yc,Rx,Ry: integer);
procedure ButtonDrawClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
…