for (int i = 0; i < FtnList.BACHModuleList.Count; i++) { PictureBox pb = new PictureBox(); Point pbLocation = new Point(HS + (i + 1) * 100 - 250, PicVS); pb.Width = 65; pb.Height = 65; pb.BackColor = Color.FromArgb(105, 164, 194); pb.Location = pbLocation; pb.Name = "pic" + FtnList.BACHModuleList[i].Name; pb.BackgroundImage = Properties.Resources.Arrow_Right; pb.Click += pictureBox0_Click;//new System.EventHandler(pictureBox0_Click); pb.Click += pictureBox1_Click;//new System.EventHandler(pictureBox1_Click); this.Controls.Add(pb); <hr/> <hr/><hr/> private void pictureBox0_Click(object sender, System.EventArgs e) { } 画 线那段,究竟该怎么写?跪求指导!
添加回答
举报
0/150
提交
取消