帮忙解释一下Delphi这两个事件的意思。
procedureTForm1.Button1Click(Sender:TObject);varI,J:Integer;beginforI:=0toForm1.Heigh...
procedure TForm1.Button1Click(Sender: TObject); var I,J:Integer; begin for I:=0 to Form1.Height do for J:=0 to Form1.Width do Form1.Canvas.Pixels[J,I]:=$100*Random(256); end; procedure TForm1.Button2Click(Sender: TObject); var I,J:Integer; begin for I:=0 to Form1.Height do for J:=0 to Form1.Width do Form1.Canvas.Pixels[J,I]:=(($100*1)div Form1.Height)*Random(256); end;
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询