Курсовая работа: Опрацювання масивів
for j: =1 to MaxY do begin
sbut [i, j]. Font. Color: =clBlue;
sbut [i, j]. Color: =clYellow;
end;
end;
procedure TForm1. Panel3Click(Sender: TObject);
var i,j: Integer;
begin
Randomize;
for i: = 1 to MaxX do
for j: = 1 to MaxY do begin
sbut [i, j]. Caption: = Sumbol;
sbut [i, j]. Font. Color: =clBlue;
sbut [i, j]. Color: =clYellow;
end;
end;
procedure TForm1. Panel4Click(Sender: TObject);
begin
Close;
end;
procedure TForm1. N1Click(Sender: TObject);
begin
Form1. Enabled: =False;
AboutProgram. Show;
end;
procedure TForm1. N2Click(Sender: TObject);
begin
Form1. Enabled: =False;
AboutBox. Show;