呆呆的坐
求大神!!

namespace WindowsFormsApplication7

{

public partial class Form1 : Form

{

public Form1()

{

InitializeComponent();

}

private void Form1_Load(object sender, EventArgs e)

{

}

private void radioButton1_CheckedChanged(object sender, EventArgs e)

{

}

private void timer1_Tick(object sender, EventArgs e)

{

if (radioButton1.Left < 101) //让球自动向右运动

radioButton1.Left++;

else if (radioButton1.Top > 158)//设置临界点让球的运动发生变化

radioButton1.Top--;

else if (radioButton1.Left < 189)

radioButton1.Left++;

else if (radioButton1.Top < 191)

radioButton1.Top++;

else if (radioButton1.Left < 264)

radioButton1.Left++;

}

}

}

-----------------------华丽的分割线------------------------------------------

我这个编程就是让radioButton像一颗球一样沿着Button1、2、3的表面滑动。。。

问题就是我的”球“滑倒一半就不能动了。。

好像是下面这部分的代码都没用到。。。

else if (radioButton1.Top < 191)

radioButton1.Top++;

else if (radioButton1.Left < 264)

radioButton1.Left++;

呆呆的坐
程序贴上来呗
展开Biu

:65:终于有人回复了。。感谢!不过我已经解决了。。谢谢!:70:

[查看全文]
流星のナミダ
程序贴上来呗
展开Biu

程序贴上来呗- -

[查看全文]
呆呆的坐
是太简单了么
展开Biu

:32:是太简单了么。。。简单到没人鸟窝~~~~:21:

[查看全文]