在.....Designer.cs中加入
this.pictureBox1.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseWheel);
再加入事件
void pictureBox1_MouseWheel(object sender, MouseEventArgs e) { double scale = 1; if (pictureBox1.Height > 0){scale = (double)pictureBox1.Width / (double)pictureBox1.Height;}pictureBox1.Width += (int)(e.Delta * scale);pictureBox1.Height += e.Delta;}