質問するログイン新規登録

質問編集履歴

4

gazou

2018/10/13 06:00

投稿

coco_
coco_

スコア19

title CHANGED
File without changes
body CHANGED
@@ -47,11 +47,7 @@
47
47
  ```
48
48
 
49
49
  ### 挿入画像
50
-
51
- ```ここに言語名を入力
50
+ ![イメージ説明](2124ce6b19aafdacd2e7cb543bb1ad7f.jpeg)
52
-
53
- ```
54
-
55
51
  ### 補足情報(FW/ツールのバージョンなど)
56
52
 
57
53
  ここにより詳細な情報を記載してください。

3

syuusei

2018/10/13 06:00

投稿

coco_
coco_

スコア19

title CHANGED
File without changes
body CHANGED
@@ -9,8 +9,9 @@
9
9
 
10
10
 
11
11
  // Retrieve the image.
12
- Bitmap image1 = new Bitmap(@"");
12
+ Bitmap image1 = new Bitmap(@"C:\Users\peanuts\Source\Repos\WindowsFormsApp1\WindowsFormsApp1\Resources\blue.png");
13
13
 
14
+
14
15
  int x, y;
15
16
 
16
17
  // Loop through the images pixels to reset color.
@@ -45,10 +46,10 @@
45
46
  }
46
47
  ```
47
48
 
48
- ### 該当のソースコード
49
+ ### 挿入画像
49
50
 
50
51
  ```ここに言語名を入力
51
- ソースコード
52
+
52
53
  ```
53
54
 
54
55
  ### 補足情報(FW/ツールのバージョンなど)

2

コードの修正

2018/10/13 05:57

投稿

coco_
coco_

スコア19

title CHANGED
File without changes
body CHANGED
@@ -34,11 +34,12 @@
34
34
  image1.SetPixel(x, y, newColor);
35
35
  }
36
36
  }
37
+ }
37
38
 
38
39
  // Set the PictureBox to display the image.
39
40
 
40
41
  pictureBox1.Image = image1;
41
- }
42
+
42
43
  }
43
44
  }
44
45
  }

1

記入ミスを修正

2018/10/11 21:18

投稿

coco_
coco_

スコア19

title CHANGED
File without changes
body CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
 
11
11
  // Retrieve the image.
12
- Bitmap image1 = new Bitmap(200,200);
12
+ Bitmap image1 = new Bitmap(@"");
13
13
 
14
14
  int x, y;
15
15