Re: [問題] 東西從上方落下後消失要怎麼寫?

看板C_Sharp作者 (大笨羊)時間16年前 (2009/12/31 19:29), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串2/2 (看更多)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Test { public partial class Form1 : Form { static Point v2 = new Point(50, 0); public Form1() { InitializeComponent(); } private void timer1_Tick(object sender, EventArgs e) { pictureBox1.Location = v2; v2.Y+=3; if (v2.Y > 300) { v2.Y = 0; } } private void Form1_Load(object sender, EventArgs e) { timer1.Enabled = true; } } } 只是只能產生一個圖片@@ 我想到要用List 但是 執行中好像加入PictureBox 會有問題 囧 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 125.228.108.246

01/01 20:41, , 1F
會有什麼問題?
01/01 20:41, 1F

01/02 19:02, , 2F
我猜 會有頓頓的感覺
01/02 19:02, 2F
文章代碼(AID): #1BF8iizv (C_Sharp)
文章代碼(AID): #1BF8iizv (C_Sharp)