> </P><
> </P><
>unit Unit1;</P><
>interface</P><
>uses<BR> Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,<BR> Dialogs, StdCtrls, jpeg, ExtCtrls;</P><
>type<BR> TForm1 = class(TForm)<BR> Button1: TButton;<BR> Button2: TButton;<BR> Image1: TImage;<BR> procedure Button2Click(Sender: TObject);<BR> procedure Button1MouseMove(Sender: TObject; Shift: TShiftState; X,<BR> Y: Integer);<BR> procedure Button1Click(Sender: TObject);<BR> private<BR> { Private declarations }<BR> public<BR> { Public declarations }<BR> end;</P><
>var<BR> Form1: TForm1;</P><
>implementation</P><
>{$R *.dfm}</P><
>procedure TForm1.Button2Click(Sender: TObject);<BR>begin<BR> showmessage('偶也喜欢你,我们一起做爱吧!');<BR>end;</P><P>procedure TForm1.Button1MouseMove(Sender: TObject; Shift: TShiftState; X,<BR> Y: Integer);<BR>begin<BR>if Button1.Left<=200<BR> then Button1.Left:=Button1.Left+50<BR> else Button1.Left:=0;</P><P> if Button1.Top<=100<BR> then Button1.Top:=Button1.Top+25<BR> else Button1.Top:=0;</P><P>end;</P><P>procedure TForm1.Button1Click(Sender: TObject);<BR>begin<BR> showmessage('5555~~好心当作驴肝肺,偶要烧香拜佛煮咒你永远都没有性高潮!');<BR>end;</P><P>end.</P><P><BR>演示:</P><P><A href="http://www.badbanana.net/Downloads/80000.rar">HTTP://www.badbanana.net/Downloads/80000.rar</A></P><P> </P><P>菜鸟学编程 第1篇 做一个简单的小游戏</P><P>动画教程:</P><P><A href="http://www.badbanana.net/Downloads/80000JC.rar">HTTP://www.badbanana.net/Downloads/80000JC.rar</A></P>
>晕!这也叫游戏?????按纽躲鼠标?</P>| 欢迎光临 兴化400生活网 (http://wenhui.vc7.cc/) | Powered by Discuz! X2.5 |