0

我在图片框中创建了一个带有图像的表单。

当我尝试在另一台电脑上运行我的应用程序时,图像在其右侧和底部被剪切。它发生在几个不同的图像和几个不同的电脑中。

这是它在我的电脑上的外观: 我的电脑

在我朋友的电脑上:

我朋友的电脑

我如何解决它?

编辑:

这是设计中定义图片框的代码:

this.playPictureBox.Image = global::WorkTimer.Properties.Resources.play;
this.playPictureBox.Location = new System.Drawing.Point(86, 40);
this.playPictureBox.Name = "playPictureBox";
this.playPictureBox.Size = new System.Drawing.Size(96, 95);
this.playPictureBox.TabIndex = 24;
this.playPictureBox.TabStop = false;
this.playPictureBox.Click += new System.EventHandler(this.playPictureBox_Click);

谢谢

4

1 回答 1

2

设置PictureBox.SizeModeAutoSize

于 2012-09-30T11:11:47.373 回答