0

画像ボックス内に画像を含むフォームを作成しました。

アプリケーションを別の PC で実行しようとすると、画像の右と下が切り取られます。これは、いくつかの異なるイメージといくつかの異なる PC で発生します。

ここに私のPCでどのように見えるか: マイ PC

そして私の友人のPCで:

友達のパソコン

どうすれば修正できますか?

編集:

画像ボックスを定義するデザイン内のコードは次のとおりです。

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.SizeModeに設定AutoSize

于 2012-09-30T11:11:47.373 に答える