質問編集履歴
2
ソースコード見直しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,6 +36,8 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
+
```VB
|
40
|
+
|
39
41
|
'pb_tanaに棚の写真を背景として表示
|
40
42
|
|
41
43
|
Private Sub pb_tana_Paint(sender As Object, e As PaintEventArgs) Handles pb_tana.Paint
|
@@ -58,6 +60,8 @@
|
|
58
60
|
|
59
61
|
End Sub
|
60
62
|
|
63
|
+
```
|
64
|
+
|
61
65
|
|
62
66
|
|
63
67
|
### 試したこと
|
1
バージョン名追加しました。ソースコードのインデントはできません。
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,9 +38,7 @@
|
|
38
38
|
|
39
39
|
'pb_tanaに棚の写真を背景として表示
|
40
40
|
|
41
|
-
Private Sub pb_tana_Paint(sender As Object, e As PaintEventArgs) _
|
41
|
+
Private Sub pb_tana_Paint(sender As Object, e As PaintEventArgs) Handles pb_tana.Paint
|
42
|
-
|
43
|
-
Handles pb_tana.Paint
|
44
42
|
|
45
43
|
pb_tana.SizeMode = PictureBoxSizeMode.Zoom
|
46
44
|
|
@@ -52,13 +50,11 @@
|
|
52
50
|
|
53
51
|
'棚の上のpb_a1に本を表示
|
54
52
|
|
55
|
-
Private Sub pb_a1_Paint(sender As Object, e As PaintEventArgs)_
|
53
|
+
Private Sub pb_a1_Paint(sender As Object, e As PaintEventArgs) Handles pb_a1.Paint
|
56
54
|
|
57
|
-
|
55
|
+
pb_a1.SizeMode = PictureBoxSizeMode.Zoom
|
58
56
|
|
59
|
-
pb_a1.SizeMode = PictureBoxSizeMode.Zoom
|
60
|
-
|
61
|
-
pb_a1.Image = System.Drawing.Image.FromFile("C:\2.jpg")
|
57
|
+
pb_a1.Image = System.Drawing.Image.FromFile("C:\2.jpg")
|
62
58
|
|
63
59
|
End Sub
|
64
60
|
|
@@ -80,4 +76,6 @@
|
|
80
76
|
|
81
77
|
|
82
78
|
|
79
|
+
プロジェクトの種類:WindowsFormApplication
|
80
|
+
|
83
|
-
|
81
|
+
フレームワーク:.NET Framework 4.7.2
|