Контрольная работа: Разработка программного комплекса
ComboBox2.ItemIndex := Worker.sex;
Edit3.Text := Worker.Armi;
DateTimePicker1.Date := Worker.BirthDay;
end;
end;
end.
unit Unit4;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, Unit1;
type
TForm4 = class(TForm)
StringGrid1: TStringGrid;
private
{ Private declarations }
public
{ Public declarations }
procedure FillTable(Workers:array of TWorker);
end;
var
Form4: TForm4;
implementation
{$R *.dfm}
procedure TForm4.FillTable(Workers:array of TWorker);
var
i,n:integer;
begin
n:= Length(Workers);